Skip to content

Commit

Permalink
Fix call to logger
Browse files Browse the repository at this point in the history
  • Loading branch information
hikhvar committed Mar 26, 2024
1 parent bafcfc1 commit eb40d8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ func upsertTargets(globalTargets *targets, resolver *net.Resolver, cfg *config.C
disableIPv6: cfg.Options.DisableIPv6,
})
if err != nil {
log.Errorf("failed to setup target: %w", err)
log.Errorf("failed to setup target: %v", err)
}
wg.Done()
}()
Expand Down

0 comments on commit eb40d8a

Please sign in to comment.