From 1daf25e0ac371abb0945ca50acc8dd939378ee66 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Wed, 11 Jul 2018 13:10:30 +0200 Subject: [PATCH] Remove unused "containerd-addr" and "containerd-namespace" flags commit fe9b06392aaa10d4aeb4a36bf4defffaa5556d96 removed the containerd executor, as it was not currently maintained, but these two flags were left behind and are no longer functional. Signed-off-by: Sebastiaan van Stijn --- cmd/swarmd/main.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/cmd/swarmd/main.go b/cmd/swarmd/main.go index 604801cb35..a638116b8d 100644 --- a/cmd/swarmd/main.go +++ b/cmd/swarmd/main.go @@ -257,8 +257,6 @@ func init() { mainCmd.Flags().StringP("state-dir", "d", defaults.StateDir, "State directory") mainCmd.Flags().StringP("join-token", "", "", "Specifies the secret token required to join the cluster") mainCmd.Flags().String("engine-addr", "unix:///var/run/docker.sock", "Address of engine instance of agent.") - mainCmd.Flags().String("containerd-addr", "", "Address of containerd instance of agent.") - mainCmd.Flags().String("containerd-namespace", "swarmd", "Namespace to use when using containerd agent.") mainCmd.Flags().String("hostname", "", "Override reported agent hostname") mainCmd.Flags().String("advertise-remote-api", "", "Advertise address for remote API") mainCmd.Flags().String("listen-remote-api", "0.0.0.0:4242", "Listen address for remote API")