Skip to content

Commit

Permalink
Fix golangci-lint issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
nickeskov committed Feb 14, 2024
1 parent 508cdb6 commit dc73dd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/bots/internal/common/environment.go
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ func ScheduleNodesStatus(
bot bot,
zapLogger *zap.Logger,
) error {
_, err := taskScheduler.ScheduleWithCron(func(ctx context.Context) {
_, err := taskScheduler.ScheduleWithCron(func(_ context.Context) {
nodes, err := messaging.RequestAllNodes(requestType, responsePairType)
if err != nil {
zapLogger.Error("failed to get nodes list", zap.Error(err))
Expand Down

0 comments on commit dc73dd5

Please sign in to comment.