Skip to content

Commit

Permalink
Fix healthz test error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
claire921 committed Nov 3, 2014
1 parent 808be2d commit eafd142
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/healthz/healthz_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func TestInstallHandler(t *testing.T) {
InstallHandler(mux)
req, err := http.NewRequest("GET", "http://example.com/healthz", nil)
if err != nil {
t.Errorf("Unexpected error: %v", err)
t.Fatalf("Unexpected error: %v", err)
}
w := httptest.NewRecorder()
mux.ServeHTTP(w, req)
Expand Down

0 comments on commit eafd142

Please sign in to comment.