Skip to content

Commit 32a7daf

Browse files
committed
Bug fix that was introducing (MISSING) in failed health check output
1 parent 9a4f04e commit 32a7daf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/flycheck/checks.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package flycheck
22

33
import (
44
"context"
5-
"fmt"
5+
"errors"
66
"io"
77
"net/http"
88
"time"
@@ -93,7 +93,7 @@ func handleCheckResponse(w http.ResponseWriter, suite *check.CheckSuite, raw boo
9393
result = suite.Result()
9494
}
9595
if !suite.Passed() {
96-
handleError(w, fmt.Errorf(result))
96+
handleError(w, errors.New(result))
9797
return
9898
}
9999
io.WriteString(w, result)

0 commit comments

Comments
 (0)