Skip to content

Commit

Permalink
remediate PR Comments
Browse files Browse the repository at this point in the history
Signed-off-by: Brian Downs <[email protected]>
  • Loading branch information
briandowns committed Dec 3, 2024
1 parent 6f69455 commit c19eaac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion k3k-kubelet/controller/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ func (c *ControllerHandler) RemoveResource(ctx context.Context, obj client.Objec
ctrl, ok := c.controllers[obj.GetObjectKind().GroupVersionKind()]
c.RUnlock()
if !ok {
return errors.New("no controller found for gvk" + obj.GetObjectKind().GroupVersionKind().String())
return errors.New("no controller found for gvk " + obj.GetObjectKind().GroupVersionKind().String())
}

return ctrl.RemoveResource(ctx, obj.GetNamespace(), obj.GetName())
Expand Down

0 comments on commit c19eaac

Please sign in to comment.