This commit is contained in:
		| @ -251,7 +251,8 @@ def download(snapshot, path, volumes, secrets): | |||||||
|             path = f[ 'path' ] |             path = f[ 'path' ] | ||||||
|             if SERVICE in path and f['type'] == 'file': |             if SERVICE in path and f['type'] == 'file': | ||||||
|                 secret = dump(snapshot, path).decode() |                 secret = dump(snapshot, path).decode() | ||||||
|                 secrets[path.removeprefix(SERVICE)] = secret |                 secret_name = path.removeprefix(f'{SECRET_PATH}{SERVICE}_') | ||||||
|  |                 secrets[secret_name] = secret | ||||||
|         with open(filename, "w") as file: |         with open(filename, "w") as file: | ||||||
|             json.dump(secrets, file) |             json.dump(secrets, file) | ||||||
|         print(filename) |         print(filename) | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user