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