Browse Source

Travis 3

pull/3286/head
Gerardo 5 years ago
committed by GitHub
parent
commit
680106582b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      dnsapi/dns_aruba.sh

6
dnsapi/dns_aruba.sh

@ -91,7 +91,7 @@ _initAuth() {
return 1
fi
domainData=$(echo "$response" | tr -d '\r')
domainData=$(echo "$response" | tr -d '\r')
# get all Ids and peek only values
temp="$(echo "$domainData" | _egrep_o "Id\": [^,]*" | cut -d : -f 2 | head -1)" # first element is zone Id
domain_id=$temp
@ -185,7 +185,7 @@ _extract_record_id() {
_debug printf "%s\t%s\n" "$i"
#_arrayname=$i
_arrayId=$j
_info "Found txt record id: $_arrayId"
_info "Found txt record id: $_arrayId"
fi
j=$(_math "$j" + 1)
done
@ -198,7 +198,7 @@ _extract_record_id() {
return 0
fi
n=$(_math "$n" + 1)
done
done
return 1
}

Loading…
Cancel
Save