From 7a4be5671b624038f96625e85ac9318a63e83603 Mon Sep 17 00:00:00 2001 From: Antonio Murdaca Date: Mon, 10 Apr 2017 13:11:58 +0200 Subject: [PATCH] remove --init-path from client Signed-off-by: Antonio Murdaca Upstream-commit: dea809813ecddab1cbca25210b2c1fa1ccc279bc Component: cli --- components/cli/cli/command/container/opts.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/components/cli/cli/command/container/opts.go b/components/cli/cli/command/container/opts.go index 30c356a050..ad5c88d205 100644 --- a/components/cli/cli/command/container/opts.go +++ b/components/cli/cli/command/container/opts.go @@ -118,7 +118,6 @@ type containerOptions struct { runtime string autoRemove bool init bool - initPath string Image string Args []string @@ -284,8 +283,6 @@ func addFlags(flags *pflag.FlagSet) *containerOptions { flags.BoolVar(&copts.init, "init", false, "Run an init inside the container that forwards signals and reaps processes") flags.SetAnnotation("init", "version", []string{"1.25"}) - flags.StringVar(&copts.initPath, "init-path", "", "Path to the docker-init binary") - flags.SetAnnotation("init-path", "version", []string{"1.25"}) return copts }