diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2020-10-30 14:30:31 +0100 |
---|---|---|
committer | Giuseppe Scrivano <gscrivan@redhat.com> | 2020-10-30 14:30:33 +0100 |
commit | 433fea303e634096f6576ad37423db82d46e28bb (patch) | |
tree | 4721bb998d6b7c566f2e2fe277089ef1f59409d8 /pkg/specgen/generate | |
parent | 228396a99dc88fc828f23d4072a46ca8de90282f (diff) | |
download | podman-433fea303e634096f6576ad37423db82d46e28bb.tar.gz podman-433fea303e634096f6576ad37423db82d46e28bb.tar.bz2 podman-433fea303e634096f6576ad37423db82d46e28bb.zip |
specgen: fix error message
drop spurious comma.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'pkg/specgen/generate')
-rw-r--r-- | pkg/specgen/generate/validate.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/specgen/generate/validate.go b/pkg/specgen/generate/validate.go index ed337321b..f7d80ff75 100644 --- a/pkg/specgen/generate/validate.go +++ b/pkg/specgen/generate/validate.go @@ -38,7 +38,7 @@ func verifyContainerResources(s *specgen.SpecGenerator) ([]string, error) { memory.Swap = nil } if memory.Limit != nil && memory.Swap != nil && !sysInfo.SwapLimit { - warnings = append(warnings, "Your kernel does not support swap limit capabilities,or the cgroup is not mounted. Memory limited without swap.") + warnings = append(warnings, "Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.") memory.Swap = nil } if memory.Limit != nil && memory.Swap != nil && *memory.Swap < *memory.Limit { |