mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 22:17:14 +00:00
Replaced klog with an error wrapper
This commit is contained in:
parent
4b29036db9
commit
62b8b1702c
@ -416,7 +416,7 @@ func (o *ApplyOptions) Run() error {
|
||||
)
|
||||
if err != nil {
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user