Skip to content

Commit

Permalink
updating versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Manuel Doncel Martos committed Sep 19, 2024
1 parent f040b41 commit 2405134
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
lint:
@go run github.com/golangci/golangci-lint/cmd/golangci-lint@v1.46.2 run ./...
@go run github.com/golangci/golangci-lint/cmd/golangci-lint@v1.61.0 run ./...

test: lint
@go test ./... -coverprofile=coverage.txt
Expand Down
6 changes: 3 additions & 3 deletions pkg/health/healthchecker.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ type HealthCheckResult struct {
}

/*
HealthChecker - An interface for a listener which is utilized to check the running status of a service
HealthChecker - An interface for a listener which is utilized to check the running status of a service
*/
type HealthChecker interface {
// CheckHealth - checks the service for its current running status
Expand Down Expand Up @@ -58,9 +58,9 @@ func HandleHealthcheckError(service string, err error) (result HealthCheckResult
var DefaultHealthCheckers = []HealthChecker{&DiskStatusChecker{}, &PingChecker{}}

/*
HandleHealthchecks - Composes all of the individual healthchecks into a single response object and sends the response
HandleHealthchecks - Composes all of the individual healthchecks into a single response object and sends the response
*/
func HandleHealthchecks(writer http.ResponseWriter, request *http.Request) {
func HandleHealthchecks(writer http.ResponseWriter, _ *http.Request) {
// Collect the healthcheck results
topLevelStatus := UP
payload := HealthCheckerResponse{Components: make(map[string]ComponentDetails)}
Expand Down

0 comments on commit 2405134

Please sign in to comment.