fix: match on generation of single secret
This commit is contained in:
parent
c67471e6ca
commit
6a50981120
|
@ -71,8 +71,10 @@ var appSecretGenerateCommand = cli.Command{
|
|||
parsed := secret.ParseSecretEnvVarName(sec)
|
||||
if secretName == parsed {
|
||||
secretsToCreate[sec] = secretVersion
|
||||
matches = true
|
||||
}
|
||||
}
|
||||
|
||||
if !matches {
|
||||
logrus.Fatalf("%s doesn't exist in the env config?", secretName)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue