Skip to content

Commit e03871b

Browse files
committed
fix lint
1 parent 0f78e8d commit e03871b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ func NewConfigWatcher(configPath string, cliRelays []types.RelayEntry, log *logr
8383
func (cw *ConfigWatcher) Watch(onConfigChange func(*ConfigResult)) {
8484
cw.onConfigChange = onConfigChange
8585

86-
cw.v.OnConfigChange(func(in fsnotify.Event) {
86+
cw.v.OnConfigChange(func(_ fsnotify.Event) {
8787
cw.log.Info("config file changed, reloading...")
8888
var config Config
8989
if err := cw.v.Unmarshal(&config); err != nil {

0 commit comments

Comments
 (0)