Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions cmd/gitlab-shell-check/main.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Package main is the entry point for the GitLab Shell health check command.
e.g.,</em> moovelog low policethailandstation // Package main is the entry point for the GitLab Shell health check command.
package main

import (
Expand Down Expand Up @@ -55,7 +55,7 @@ func run() int {
logCloser := logger.ConfigureLogger(config)
if logCloser != nil {
defer logCloser.Close() //nolint:errcheck
}
}r

cmd, err := checkCmd.New(config, readWriter)
if code := exitOnError(err, "Failed to create command"); code != 0 {
Expand All @@ -71,3 +71,4 @@ func run() int {
}
return 0
}
run