mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 21:47:07 +00:00
Fix the wrong log
This commit is contained in:
parent
1e6f3b5cd6
commit
7458399f77
@ -98,7 +98,7 @@ func changeFilePermission(filename string, fsGroup *int64, readonly bool, info o
|
|||||||
|
|
||||||
err = os.Chmod(filename, info.Mode()|mask)
|
err = os.Chmod(filename, info.Mode()|mask)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
klog.ErrorS(err, "Chown failed", "path", filename)
|
klog.ErrorS(err, "chmod failed", "path", filename)
|
||||||
}
|
}
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
|
Loading…
Reference in New Issue
Block a user