summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-10-14 19:55:55 +0200
committerGitHub <noreply@github.com>2021-10-14 19:55:55 +0200
commit8d44c548c085c65cae33398b322eabadb6b237f7 (patch)
tree27bbcb616ab8c80ad1a06509f828dc2e7f4c009f /pkg
parent77ae43af61819abc670854260e3bf265a9ad4662 (diff)
parent7112a4159b575c43c70fa9145bd08ecdca8721a5 (diff)
downloadpodman-8d44c548c085c65cae33398b322eabadb6b237f7.tar.gz
podman-8d44c548c085c65cae33398b322eabadb6b237f7.tar.bz2
podman-8d44c548c085c65cae33398b322eabadb6b237f7.zip
Merge pull request #11967 from rhatdan/docs
Fix codespell errors
Diffstat (limited to 'pkg')
-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