Commit 346454c2 authored by Sergey Zorin's avatar Sergey Zorin
Browse files

fix CI warnings

parent c822870c
...@@ -12,7 +12,6 @@ dns_nic_add() { ...@@ -12,7 +12,6 @@ dns_nic_add() {
fulldomain="${1}" fulldomain="${1}"
txtvalue="${2}" txtvalue="${2}"
if ! _nic_get_authtoken save; then if ! _nic_get_authtoken save; then
_err "get NIC auth token failed" _err "get NIC auth token failed"
return 1 return 1
...@@ -93,7 +92,7 @@ _nic_get_auth_elements() { ...@@ -93,7 +92,7 @@ _nic_get_auth_elements() {
if [ -n "$NIC_Token" ]; then if [ -n "$NIC_Token" ]; then
_two_values="$(echo "${NIC_Token}" | _dbase64)" _two_values="$(echo "${NIC_Token}" | _dbase64)"
_debug _two_values "$_two_values" _debug _two_values "$_two_values"
IFS=":" read -r NIC_ClientID NIC_ClientSecret <<< $_two_values IFS=":" read -r NIC_ClientID NIC_ClientSecret <<<"$_two_values"
_debug restored_NIC_ClientID "$NIC_ClientID" _debug restored_NIC_ClientID "$NIC_ClientID"
_debug restored_NIC_ClientSecret "$NIC_ClientSecret" _debug restored_NIC_ClientSecret "$NIC_ClientSecret"
fi fi
...@@ -125,7 +124,7 @@ _nic_get_auth_elements() { ...@@ -125,7 +124,7 @@ _nic_get_auth_elements() {
_nic_get_authtoken() { _nic_get_authtoken() {
_need2save=$1 _need2save=$1
if ! _nic_get_auth_elements $_need2save; then if ! _nic_get_auth_elements "$_need2save"; then
return 1 return 1
fi fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment