summaryrefslogtreecommitdiff
path: root/pkg/specgen/generate/storage.go
diff options
context:
space:
mode:
authorJosh Soref <jsoref@users.noreply.github.com>2020-12-21 17:48:43 -0500
committerJosh Soref <jsoref@users.noreply.github.com>2020-12-22 13:34:31 -0500
commit4fa1fce930f13d71f39b65bad3f46f61d961ab51 (patch)
tree3651ceec491317b6ab3aab81c7ab136eb0ff3c02 /pkg/specgen/generate/storage.go
parent07663f74c48d11732a3330248f837d5abf86fe9c (diff)
downloadpodman-4fa1fce930f13d71f39b65bad3f46f61d961ab51.tar.gz
podman-4fa1fce930f13d71f39b65bad3f46f61d961ab51.tar.bz2
podman-4fa1fce930f13d71f39b65bad3f46f61d961ab51.zip
Spelling
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Diffstat (limited to 'pkg/specgen/generate/storage.go')
-rw-r--r--pkg/specgen/generate/storage.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/specgen/generate/storage.go b/pkg/specgen/generate/storage.go
index 331a5c5bf..f523ac5bf 100644
--- a/pkg/specgen/generate/storage.go
+++ b/pkg/specgen/generate/storage.go
@@ -366,7 +366,7 @@ func addContainerInitBinary(s *specgen.SpecGenerator, path string) (spec.Mount,
// TODO: Should we unmount subtree mounts? E.g., if /tmp/ is mounted by
// one mount, and we already have /tmp/a and /tmp/b, should we remove
// the /tmp/a and /tmp/b mounts in favor of the more general /tmp?
-func SupercedeUserMounts(mounts []spec.Mount, configMount []spec.Mount) []spec.Mount {
+func SupersedeUserMounts(mounts []spec.Mount, configMount []spec.Mount) []spec.Mount {
if len(mounts) > 0 {
// If we have overlappings mounts, remove them from the spec in favor of
// the user-added volume mounts