summaryrefslogtreecommitdiff
path: root/cmd/kpod/common.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2017-11-22 07:57:31 -0500
committerAtomic Bot <atomic-devel@projectatomic.io>2017-11-22 20:53:15 +0000
commit195d48d86d871f531d72e0669ea96d315845da35 (patch)
tree8d1aaf245b769a4f9ef666f3a9b794273c7247a0 /cmd/kpod/common.go
parentc344fe61c11beaf687da284f71bde2311b91371d (diff)
downloadpodman-195d48d86d871f531d72e0669ea96d315845da35.tar.gz
podman-195d48d86d871f531d72e0669ea96d315845da35.tar.bz2
podman-195d48d86d871f531d72e0669ea96d315845da35.zip
Copy some verification code out of Docker to verify user input
Added lots of verification code to make sure resourses asociated with containers is correct. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com> Closes: #60 Approved by: umohnani8
Diffstat (limited to 'cmd/kpod/common.go')
-rw-r--r--cmd/kpod/common.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/kpod/common.go b/cmd/kpod/common.go
index d924f17a3..339f56fdd 100644
--- a/cmd/kpod/common.go
+++ b/cmd/kpod/common.go
@@ -326,6 +326,7 @@ var createFlags = []cli.Flag{
cli.Int64Flag{
Name: "memory-swappiness",
Usage: "Tune container memory swappiness (0 to 100) (default -1)",
+ Value: -1,
},
cli.StringFlag{
Name: "name",