Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions internal/utils/drain-manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ func (d *DrainManager) IsHealthy(ctx context.Context) (bool, error) {
return false, err
}
if !isSupported {
d.l.Debug("Plugin not supported")
l.Debug("Plugin not supported")
continue
}

Expand All @@ -228,7 +228,7 @@ func (d *DrainManager) IsHealthy(ctx context.Context) (bool, error) {
return false, err
}
if !isHealthy {
d.l.Warn("Plugin is not healthy")
l.Warn("Plugin is not healthy")
allModulesHealthy = false
continue
}
Expand All @@ -250,7 +250,7 @@ func (d *DrainManager) IsDrainOk(ctx context.Context, nodeName string) (bool, er
return false, err
}
if !isSupported {
d.l.Debug("Plugin not supported")
lp.Debug("Plugin not supported")
continue
}

Expand Down Expand Up @@ -280,7 +280,7 @@ func (d *DrainManager) RunPreDrain(ctx context.Context, nodeName string) error {
return err
}
if !isSupported {
d.l.Debug("Plugin not supported")
lp.Debug("Plugin not supported")
continue
}

Expand All @@ -307,7 +307,7 @@ func (d *DrainManager) RunPostDrain(ctx context.Context, nodeName string) error
return err
}
if !isSupported {
d.l.Debug("Plugin not supported")
lp.Debug("Plugin not supported")
continue
}

Expand Down
Loading