diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2021-10-14 06:52:15 -0400 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2021-10-14 08:44:09 -0400 |
commit | 7112a4159b575c43c70fa9145bd08ecdca8721a5 (patch) | |
tree | b8987f05a83e2436cf295803eea00bbad7ed2525 /pkg/specgen/specgen.go | |
parent | c19f257181db6f2c8af1d208ef8c3c846593813e (diff) | |
download | podman-7112a4159b575c43c70fa9145bd08ecdca8721a5.tar.gz podman-7112a4159b575c43c70fa9145bd08ecdca8721a5.tar.bz2 podman-7112a4159b575c43c70fa9145bd08ecdca8721a5.zip |
Fix codespell errors
Along with a couple of nits found by Ed.
[NO NEW TESTS NEEDED]
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'pkg/specgen/specgen.go')
-rw-r--r-- | pkg/specgen/specgen.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/specgen/specgen.go b/pkg/specgen/specgen.go index 07995b2df..79185db04 100644 --- a/pkg/specgen/specgen.go +++ b/pkg/specgen/specgen.go @@ -551,7 +551,7 @@ func NewSpecGenerator(arg string, rootfs bool) *SpecGenerator { csc := ContainerStorageConfig{} if rootfs { csc.Rootfs = arg - // check if rootfs is actually overlayed + // check if rootfs should use overlay lastColonIndex := strings.LastIndex(csc.Rootfs, ":") if lastColonIndex != -1 && lastColonIndex+1 < len(csc.Rootfs) && csc.Rootfs[lastColonIndex+1:] == "O" { csc.RootfsOverlay = true |