Trying to make error message similar to what is expected in tests

This commit is contained in:
Mahdi Mohammadi 2017-11-22 06:17:44 +00:00
parent d814a5ad51
commit 18ef4beb84

View File

@ -93,7 +93,7 @@ func RollbackerFor(kind schema.GroupKind, c kubernetes.Interface) (Rollbacker, e
}
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