fix: match on generation of single secret

This commit is contained in:
2022-03-13 10:50:35 +01:00
parent c67471e6ca
commit 6a50981120

View File

@ -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)
}