summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2018-02-20 12:09:28 -0600
committerAtomic Bot <atomic-devel@projectatomic.io>2018-02-24 09:15:47 +0000
commit5e7979f016d6cf1a6a050810af47c75ea16a2c9e (patch)
tree72b0cf958531ea26cf493954be9bc9213a5e5b2d /cmd
parent831dc488833e055dce1f1ba4c09f09346c85b67d (diff)
downloadpodman-5e7979f016d6cf1a6a050810af47c75ea16a2c9e.tar.gz
podman-5e7979f016d6cf1a6a050810af47c75ea16a2c9e.tar.bz2
podman-5e7979f016d6cf1a6a050810af47c75ea16a2c9e.zip
Address review comments
Review comments to delete WithNoNew function and its append. Signed-off-by: baude <bbaude@redhat.com> Closes: #369 Approved by: rhatdan
Diffstat (limited to 'cmd')
-rw-r--r--cmd/podman/spec.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/cmd/podman/spec.go b/cmd/podman/spec.go
index d535383ba..c4202fcef 100644
--- a/cmd/podman/spec.go
+++ b/cmd/podman/spec.go
@@ -665,7 +665,6 @@ func (c *createConfig) GetContainerCreateOptions() ([]libpod.CtrCreateOption, er
}
options = append(options, libpod.WithPrivileged(c.Privileged))
- options = append(options, libpod.WithNoNewPrivs(c.NoNewPrivs))
return options, nil
}