We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4c50b5 commit 5f5812cCopy full SHA for 5f5812c
cns/healthserver/healthz_test.go
@@ -267,6 +267,7 @@ func setupMockAPIServer(code int) *httptest.Server {
267
_, err := w.Write([]byte(nncCRD))
268
if err != nil {
269
http.Error(w, err.Error(), http.StatusInternalServerError)
270
+ return
271
}
272
case "/apis/acn.azure.com/v1alpha/namespaces/kube-system/nodenetworkconfigs":
273
if code == http.StatusOK {
@@ -275,6 +276,7 @@ func setupMockAPIServer(code int) *httptest.Server {
275
276
_, err := w.Write([]byte(nncResult))
277
278
279
280
281
} else {
282
w.WriteHeader(code)
0 commit comments