handle isHealthy in the main function and log error became… (#84)

*  handle isHealthy in the main function and log error became debug

* fix: lint

* fix: lint
This commit is contained in:
maxlerebourg
2023-03-01 14:18:19 +01:00
committed by GitHub
parent 976cbb7d1f
commit b079073ff6
2 changed files with 26 additions and 16 deletions
+8 -3
View File
@@ -142,14 +142,19 @@ func Test_handleStreamCache(t *testing.T) {
bouncer *Bouncer
}
tests := []struct {
name string
args args
name string
args args
wantErr bool
}{
// TODO: Add test cases.
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
handleStreamCache(tt.args.bouncer)
err := handleStreamCache(tt.args.bouncer)
if (err != nil) != tt.wantErr {
t.Errorf("handleStreamCache() error = %v, wantErr %v", err, tt.wantErr)
return
}
})
}
}