From 80693bde62b282320693b0cd9c0649801afbece3 Mon Sep 17 00:00:00 2001 From: Cyclinder Date: Fri, 4 Mar 2022 15:01:21 +0800 Subject: [PATCH] fix the usage of flag "overrideNetworkName" (#805) --- cmd/multus-daemon/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/multus-daemon/main.go b/cmd/multus-daemon/main.go index b5ceb19ef..1b74d54b1 100644 --- a/cmd/multus-daemon/main.go +++ b/cmd/multus-daemon/main.go @@ -89,7 +89,7 @@ func main() { additionalBinDir := flag.String(multusAdditionalBinDirVarName, defaultMultusAdditionalBinDir, "Additional binary directory to specify in the configurations. Used only with --multus-conf-file=auto.") readinessIndicator := flag.String(multusReadinessIndicatorFile, defaultMultusReadinessIndicatorFile, "Which file should be used as the readiness indicator. Used only with --multus-conf-file=auto.") multusKubeconfig := flag.String(multusKubeconfigPath, defaultMultusKubeconfigPath, "The path to the kubeconfig") - overrideNetworkName := flag.Bool("override-network-name", false, "Used when ") + overrideNetworkName := flag.Bool("override-network-name", false, "Used when we need overrides the name of the multus configuration with the name of the delegated primary CNI") multusBinDir := flag.String(multusBinDirVarName, defaultMultusBinDir, "The directory where the CNI plugin binaries are available") multusCniDir := flag.String(multusCNIDirVarName, defaultMultusCNIDir, "The directory where the multus CNI cache is located")