Explorar o código

Use _savedeployconf

Sergey Pashinin %!s(int64=5) %!d(string=hai) anos
pai
achega
e203e98375
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      deploy/vault.sh

+ 2 - 0
deploy/vault.sh

@@ -36,12 +36,14 @@ vault_deploy() {
     _err "VAULT_PREFIX needs to be defined (contains prefix path in vault)"
     return 1
   fi
+  _savedeployconf VAULT_PREFIX "$VAULT_PREFIX"
 
   _getdeployconf VAULT_ADDR
   if [ -z "$VAULT_ADDR" ]; then
     _err "VAULT_ADDR needs to be defined (contains vault connection address)"
     return 1
   fi
+  _savedeployconf VAULT_ADDR "$VAULT_ADDR"
 
   # JSON does not allow multiline strings.
   # So replacing new-lines with "\n" here