Merge pull request 'clan_cli secrets generate: fix type in error msg' (#890) from interactive_secrets into main
This commit is contained in:
commit
da34bd7199
@ -92,7 +92,7 @@ def generate_service_secrets(
|
|||||||
secret_file = secrets_dir / secret_name
|
secret_file = secrets_dir / secret_name
|
||||||
if not secret_file.is_file():
|
if not secret_file.is_file():
|
||||||
msg = f"did not generate a file for '{secret_name}' when running the following command:\n"
|
msg = f"did not generate a file for '{secret_name}' when running the following command:\n"
|
||||||
msg += machine.secrets_data[service]["generator"]
|
msg += generator
|
||||||
raise ClanError(msg)
|
raise ClanError(msg)
|
||||||
secret_path = secret_store.set(
|
secret_path = secret_store.set(
|
||||||
service, secret_name, secret_file.read_bytes(), groups
|
service, secret_name, secret_file.read_bytes(), groups
|
||||||
|
Loading…
Reference in New Issue
Block a user