Skip to content

Commit

Permalink
Fix go vet error
Browse files Browse the repository at this point in the history
  • Loading branch information
ibuildthecloud committed Oct 4, 2016
1 parent dff0e00 commit 109fa66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion healthcheck.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func healthcheck(w http.ResponseWriter, req *http.Request) {
// 1) test metadata server
_, err := m.MetadataClient.GetSelfStack()
if err != nil {
logrus.Error("Metadata health check failed: %v", err)
logrus.Errorf("Metadata health check failed: %v", err)
http.Error(w, "Failed to reach metadata server", http.StatusInternalServerError)
} else {
// 2) test provider
Expand Down

0 comments on commit 109fa66

Please sign in to comment.