Browse Source

Fix _dbase64 decode of OCI_CLI_KEY

The change made in #4057 broke the decoding of OCI_CLI_KEY from
the encoded OCI_CLI_KEY_FILE content so this removes the multiline
parameter to fix it.

Signed-off-by: Avi Miller <avi.miller@oracle.com>
pull/4101/head
Avi Miller 3 years ago
parent
commit
32adc38e94
No known key found for this signature in database GPG Key ID: 66D6066620F03B05
  1. 2
      dnsapi/dns_oci.sh

2
dnsapi/dns_oci.sh

@ -159,7 +159,7 @@ _oci_config() {
fi fi
if [ "$(printf "%s\n" "$OCI_CLI_KEY" | wc -l)" -eq 1 ]; then if [ "$(printf "%s\n" "$OCI_CLI_KEY" | wc -l)" -eq 1 ]; then
OCI_CLI_KEY=$(printf "%s" "$OCI_CLI_KEY" | _dbase64 multiline)
OCI_CLI_KEY=$(printf "%s" "$OCI_CLI_KEY" | _dbase64)
fi fi
return 0 return 0

Loading…
Cancel
Save