Commit be7688a4 authored by Sergey Zorin's avatar Sergey Zorin
Browse files

fix CI warnings SC2039 v2

parent 8e2f1138
......@@ -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
......
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