Skip to content

Commit

Permalink
Fix DeleteNode log (#588)
Browse files Browse the repository at this point in the history
  • Loading branch information
HomayoonAlimohammadi committed Aug 7, 2024
1 parent a33cd3e commit 7075a55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/k8s/pkg/k8sd/app/hooks_remove.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func (a *App) onPreRemove(ctx context.Context, s state.State, force bool) (rerr

log.Info("Deleting node from Kubernetes cluster")
if err := c.DeleteNode(ctx, s.Name()); err != nil {
log.Error(err, "Failed to remove k8s node %q: %w", s.Name(), err)
log.Error(err, "Failed to remove Kubernetes node")
}
}

Expand Down

0 comments on commit 7075a55

Please sign in to comment.