Skip to content

Commit 3bd7dc4

Browse files
committed
Fix lint
1 parent 99340a9 commit 3bd7dc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/pkg/frontend/frontend.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ func (f *Frontend) Healthz(writer http.ResponseWriter, request *http.Request) {
9898
var healthStatus float64
9999

100100
dbConErr := f.dbClient.DBConnectionTest(request.Context())
101-
if f.CheckReady() == false {
101+
if !f.CheckReady() {
102102
writer.WriteHeader(http.StatusInternalServerError)
103103
healthStatus = 0.0
104104
} else if dbConErr != nil {

0 commit comments

Comments
 (0)