fixup! fixup! cluster/services/storage: test in simulacrum
This commit is contained in:
parent
9575813019
commit
5b71f8529e
1 changed files with 1 additions and 1 deletions
|
@ -179,7 +179,7 @@ in
|
|||
key = {
|
||||
destroyAfterDays = 0;
|
||||
create = key: ''
|
||||
if [[ "$(garage key info ${lib.escapeShellArg key}) 2>&1 >/dev/null)" == "Error: 0 matching keys" ]]; then
|
||||
if [[ "$(garage key info ${lib.escapeShellArg key} 2>&1 >/dev/null)" == "Error: 0 matching keys" ]]; then
|
||||
# don't print secret key
|
||||
garage key new --name ${lib.escapeShellArg key} >/dev/null
|
||||
echo Key ${lib.escapeShellArg key} was created.
|
||||
|
|
Loading…
Reference in a new issue