Browse Source

fix CI warnings SC2039 v2

pull/2678/head
Sergey Zorin 5 years ago
parent
commit
be7688a4df
  1. 3
      dnsapi/dns_nic.sh

3
dnsapi/dns_nic.sh

@ -92,7 +92,8 @@ _nic_get_auth_elements() {
if [ -n "$NIC_Token" ]; then
_two_values="$(echo "${NIC_Token}" | _dbase64)"
_debug _two_values "$_two_values"
IFS=":" read -r NIC_ClientID NIC_ClientSecret < <(echo "$_two_values")
NIC_ClientID=$(echo "$_two_values" | cut -d':' -f1)
NIC_ClientSecret=$(echo "$_two_values" | cut -d':' -f2-)
_debug restored_NIC_ClientID "$NIC_ClientID"
_debug restored_NIC_ClientSecret "$NIC_ClientSecret"
fi

Loading…
Cancel
Save