mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-12-15 20:37:39 +00:00
Rename mount.IsBind to mount.MakeBindOpts
This commit is contained in:
@@ -47,7 +47,7 @@ var _ mount.Interface = &execMounter{}
|
||||
|
||||
// Mount runs mount(8) using given exec interface.
|
||||
func (m *execMounter) Mount(source string, target string, fstype string, options []string) error {
|
||||
bind, bindOpts, bindRemountOpts := mount.IsBind(options)
|
||||
bind, bindOpts, bindRemountOpts := mount.MakeBindOpts(options)
|
||||
|
||||
if bind {
|
||||
err := m.doExecMount(source, target, fstype, bindOpts)
|
||||
|
||||
Reference in New Issue
Block a user