From 5c7c02c4ab652a84878d2555426413ff25c8aa70 Mon Sep 17 00:00:00 2001 From: Rami Berman Date: Tue, 16 Nov 2021 17:02:50 +0200 Subject: [PATCH] Update tapConfig.go --- cli/config/configStructs/tapConfig.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cli/config/configStructs/tapConfig.go b/cli/config/configStructs/tapConfig.go index fcc29ce13..395fde2e1 100644 --- a/cli/config/configStructs/tapConfig.go +++ b/cli/config/configStructs/tapConfig.go @@ -3,6 +3,7 @@ package configStructs import ( "errors" "fmt" + cliConfig "github.com/up9inc/mizu/cli/config" "github.com/up9inc/mizu/cli/uiUtils" "github.com/up9inc/mizu/shared/logger" "regexp" @@ -83,7 +84,7 @@ func (config *TapConfig) Validate() error { } if config.NoPersistentVolumeClaim && !config.DaemonMode { - logger.Log.Warningf(uiUtils.Warning, fmt.Sprintf("the --set tap.no-persistent-volume-claim=true flag has no effect without the --%s flag, the claim will not be created anyway.", DaemonModeTapName)) + logger.Log.Warningf(uiUtils.Warning, fmt.Sprintf("the --%s tap.no-persistent-volume-claim=true flag has no effect without the --%s flag, the claim will not be created anyway.", cliConfig.SetCommandName, DaemonModeTapName)) } return nil