mirror of
https://gitlab.com/psuapp/psu.git
synced 2024-08-30 18:12:34 +00:00
Update required flag stack-file not set log message
Now it looks more like default "required flag" errors
This commit is contained in:
parent
245b84d0b4
commit
105178c07c
@ -114,9 +114,7 @@ var stackDeployCmd = &cobra.Command{
|
||||
}).Debug("Stack not found")
|
||||
|
||||
if viper.GetString("stack.deploy.stack-file") == "" {
|
||||
logrus.WithFields(logrus.Fields{
|
||||
"flag": "--stack-file",
|
||||
}).Fatal("Provide required flag")
|
||||
logrus.Fatal(`required flag(s) "stack-file" not set`)
|
||||
}
|
||||
stackFileContent, loadingErr := loadStackFile(viper.GetString("stack.deploy.stack-file"))
|
||||
common.CheckError(loadingErr)
|
||||
|
Loading…
x
Reference in New Issue
Block a user