Replaced klog with an error wrapper

This commit is contained in:
Josh Samuels 2019-06-12 23:15:13 -07:00
parent 4b29036db9
commit 62b8b1702c

View File

@ -416,7 +416,7 @@ func (o *ApplyOptions) Run() error {
) )
if err != nil { if err != nil {
if isIncompatibleServerError(err) { if isIncompatibleServerError(err) {
klog.Warningf("serverside-apply incompatible server: %v", err) err = fmt.Errorf("Server-side apply not available on the server: (%v)", err)
} }
return err return err