mirror of
https://github.com/foomo/keel.git
synced 2025-10-16 12:35:34 +00:00
fix: nil context
This commit is contained in:
parent
6e009d288b
commit
82fc9d2c50
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user