Skip to content

Commit

Permalink
fix: nil context
Browse files Browse the repository at this point in the history
  • Loading branch information
franklinkim committed Dec 4, 2024
1 parent 6e009d2 commit 82fc9d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion serviceenabler.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ func (w *ServiceEnabler) Name() string {
}

func (w *ServiceEnabler) Start(ctx context.Context) error {
w.watch(w.ctx) //nolint:contextcheck
w.ctx = ctx
w.watch(w.ctx) //nolint:contextcheck
if w.enabled() {
if err := w.enable(w.ctx); err != nil { //nolint:contextcheck
return err
Expand Down

0 comments on commit 82fc9d2

Please sign in to comment.