disk: rename MountpointAllowList -> MountpointPolicies
Now that the mountpoint allow is is actually a trie of path policies we should rename it to better refelct its contents.
This commit is contained in:
parent
de52e024a0
commit
3c3f1b4969
5 changed files with 5 additions and 5 deletions
|
|
@ -696,7 +696,7 @@ func (t *imageType) checkOptions(customizations *blueprint.Customizations, optio
|
|||
return fmt.Errorf("Custom mountpoints are not supported for ostree types")
|
||||
}
|
||||
|
||||
err := disk.CheckMountpoints(mountpoints, disk.MountpointAllowList)
|
||||
err := disk.CheckMountpoints(mountpoints, disk.MountpointPolicies)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
|
|||
|
|
@ -433,7 +433,7 @@ func (t *imageType) checkOptions(customizations *blueprint.Customizations, optio
|
|||
|
||||
mountpoints := customizations.GetFilesystems()
|
||||
|
||||
err := disk.CheckMountpoints(mountpoints, disk.MountpointAllowList)
|
||||
err := disk.CheckMountpoints(mountpoints, disk.MountpointPolicies)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
|
|||
|
|
@ -663,7 +663,7 @@ func (t *imageType) checkOptions(customizations *blueprint.Customizations, optio
|
|||
return fmt.Errorf("Custom mountpoints are not supported for ostree types")
|
||||
}
|
||||
|
||||
err := disk.CheckMountpoints(mountpoints, disk.MountpointAllowList)
|
||||
err := disk.CheckMountpoints(mountpoints, disk.MountpointPolicies)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
|
|||
|
|
@ -599,7 +599,7 @@ func (t *imageType) checkOptions(customizations *blueprint.Customizations, optio
|
|||
return fmt.Errorf("Custom mountpoints are not supported for ostree types")
|
||||
}
|
||||
|
||||
err := disk.CheckMountpoints(mountpoints, disk.MountpointAllowList)
|
||||
err := disk.CheckMountpoints(mountpoints, disk.MountpointPolicies)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue