mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-04 23:17:50 +00:00
add systemd mount options interface to support the no-systemd mount
This commit is contained in:
@@ -305,7 +305,7 @@ func (b *azureFileMounter) SetUpAt(dir string, mounterArgs volume.MounterArgs) e
|
||||
|
||||
mountComplete := false
|
||||
err = wait.PollImmediate(1*time.Second, 2*time.Minute, func() (bool, error) {
|
||||
err := b.mounter.MountSensitive(source, dir, "cifs", mountOptions, sensitiveMountOptions)
|
||||
err := b.mounter.MountSensitiveWithoutSystemd(source, dir, "cifs", mountOptions, sensitiveMountOptions)
|
||||
mountComplete = true
|
||||
return true, err
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user