From 809aab7c823f6ec71efabfec07c333583c8ea883 Mon Sep 17 00:00:00 2001 From: Manuel Alejandro de Brito Fontes Date: Tue, 20 Feb 2018 11:56:25 -0800 Subject: [PATCH] Remove deprecated flag disable-node-list (#2119) --- cmd/nginx/flags.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/cmd/nginx/flags.go b/cmd/nginx/flags.go index e50db1bcb..d62e579c1 100644 --- a/cmd/nginx/flags.go +++ b/cmd/nginx/flags.go @@ -96,9 +96,6 @@ func parseFlags() (bool, *controller.Configuration, error) { `Force namespace isolation. This flag is required to avoid the reference of secrets or configmaps located in a different namespace than the specified in the flag --watch-namespace.`) - _ = flags.Bool("disable-node-list", false, - `Disable querying nodes. If --force-namespace-isolation is true, this should also be set. (DEPRECATED)`) - updateStatusOnShutdown = flags.Bool("update-status-on-shutdown", true, `Indicates if the ingress controller should update the Ingress status IP/hostname when the controller is being stopped. Default is true`) @@ -132,8 +129,6 @@ func parseFlags() (bool, *controller.Configuration, error) { `Define the sync frequency upper limit`) ) - flags.MarkDeprecated("disable-node-list", "This flag is currently no-op and will be deleted.") - flag.Set("logtostderr", "true") flags.AddGoFlagSet(flag.CommandLine)