summaryrefslogtreecommitdiff
path: root/cmd/podman
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2020-04-28 14:30:55 +0200
committerGiuseppe Scrivano <gscrivan@redhat.com>2020-04-28 14:30:55 +0200
commitc999f9daf228cf9c7d62dcd1d32f689817821ecf (patch)
tree5189e49ef5270c045c9eb8b43f7a00fbfc412733 /cmd/podman
parente76c8527dcc8f526fdc8b50540a1aeb05f7eb70a (diff)
downloadpodman-c999f9daf228cf9c7d62dcd1d32f689817821ecf.tar.gz
podman-c999f9daf228cf9c7d62dcd1d32f689817821ecf.tar.bz2
podman-c999f9daf228cf9c7d62dcd1d32f689817821ecf.zip
specgen: remove dead code
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'cmd/podman')
-rw-r--r--cmd/podman/common/specgen.go18
1 files changed, 0 insertions, 18 deletions
diff --git a/cmd/podman/common/specgen.go b/cmd/podman/common/specgen.go
index 5d5816ea4..f8c58f1a4 100644
--- a/cmd/podman/common/specgen.go
+++ b/cmd/podman/common/specgen.go
@@ -466,24 +466,6 @@ func FillOutSpecGen(s *specgen.SpecGenerator, c *ContainerCLIOpts, args []string
s.CgroupParent = c.CGroupParent
s.CgroupsMode = c.CGroupsMode
s.Groups = c.GroupAdd
- // TODO WTF
- //cgroup := &cc.CgroupConfig{
- // Cgroupns: c.String("cgroupns"),
- //}
- //
- //userns := &cc.UserConfig{
- // GroupAdd: c.StringSlice("group-add"),
- // IDMappings: idmappings,
- // UsernsMode: usernsMode,
- // User: user,
- //}
- //
- //uts := &cc.UtsConfig{
- // UtsMode: utsMode,
- // NoHosts: c.Bool("no-hosts"),
- // HostAdd: c.StringSlice("add-host"),
- // Hostname: c.String("hostname"),
- //}
s.Hostname = c.Hostname
sysctl := map[string]string{}