Skip to content

Commit

Permalink
Make lint happy (#175)
Browse files Browse the repository at this point in the history
  • Loading branch information
fabioserra authored Mar 1, 2024
1 parent 4f2bd01 commit 52cc49d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion checks/nats/check.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type Config struct {

// New creates new NATS health check that verifies the status of the connection.
func New(config Config) func(ctx context.Context) error {
return func(ctx context.Context) error {
return func(context.Context) error {
nc, err := nats.Connect(config.DSN)
if err != nil {
return fmt.Errorf("nats health check failed on client creation: %w", err)
Expand Down

0 comments on commit 52cc49d

Please sign in to comment.