aboutsummaryrefslogtreecommitdiff
path: root/pkg/specgen/specgen.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2021-10-14 06:52:15 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2021-10-14 08:44:09 -0400
commit7112a4159b575c43c70fa9145bd08ecdca8721a5 (patch)
treeb8987f05a83e2436cf295803eea00bbad7ed2525 /pkg/specgen/specgen.go
parentc19f257181db6f2c8af1d208ef8c3c846593813e (diff)
downloadpodman-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.go2
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