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