Skip to content

Commit d10da16

Browse files
committed
fix: fix compile error
1 parent 32734c3 commit d10da16

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/nightwatch/watcher/user/watcher.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ func (w *userWatcher) Run() {
8484
wp.StopWait()
8585
}
8686

87-
// Init initializes the watcher for later execution.
88-
func (w *userWatcher) Init(ctx context.Context, config *watcher.Config) error {
87+
// Initialize initializes the watcher for later execution.
88+
func (w *userWatcher) Initialize(ctx context.Context, config *watcher.Config) error {
8989
w.store = config.Store
9090
w.maxWorkers = config.UserWatcherMaxWorkers
9191
return nil

0 commit comments

Comments
 (0)