mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 17:30:00 +00:00
Merge pull request #68435 from humblec/log-file-nil
Glusterfs: Remove unwanted `log-file` mount argument.
This commit is contained in:
commit
433d72da06
@ -319,10 +319,11 @@ func (b *glusterfsMounter) setUpAtInternal(dir string) error {
|
|||||||
// its own log based on PV + Pod
|
// its own log based on PV + Pod
|
||||||
log = path.Join(p, b.pod.Name+"-glusterfs.log")
|
log = path.Join(p, b.pod.Name+"-glusterfs.log")
|
||||||
|
|
||||||
|
// Use derived log file in gluster fuse mount
|
||||||
|
options = append(options, "log-file="+log)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Use derived/provided log file in gluster fuse mount
|
|
||||||
options = append(options, "log-file="+log)
|
|
||||||
options = append(options, "log-level=ERROR")
|
options = append(options, "log-level=ERROR")
|
||||||
|
|
||||||
var addrlist []string
|
var addrlist []string
|
||||||
|
Loading…
Reference in New Issue
Block a user