mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-14 14:23:37 +00:00
Trying to make error message similar to what is expected in tests
This commit is contained in:
parent
d814a5ad51
commit
18ef4beb84
@ -93,7 +93,7 @@ func RollbackerFor(kind schema.GroupKind, c kubernetes.Interface) (Rollbacker, e
|
|||||||
}
|
}
|
||||||
|
|
||||||
if visitor.result == nil {
|
if visitor.result == nil {
|
||||||
return nil, fmt.Errorf("no rollbacker has been implemented for %q", kind.String())
|
return nil, fmt.Errorf("no rollbacker has been implemented for %q", kind)
|
||||||
}
|
}
|
||||||
|
|
||||||
return visitor.result, nil
|
return visitor.result, nil
|
||||||
|
Loading…
Reference in New Issue
Block a user