fix format

This commit is contained in:
neilpang 2017-05-08 22:57:23 +08:00
parent 5da1d3b73b
commit a20707cd73
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ dns_nsone_add() {
_debug count "$count"
if [ "$count" = "0" ]; then
_info "Adding record"
if _nsone_rest PUT "zones/$_domain/$fulldomain/TXT" "{\"answers\":[{\"answer\":[\"$txtvalue\"]}],\"type\":\"TXT\",\"domain\":\"$fulldomain\",\"zone\":\"$_domain\"}"; then
if _contains "$response" "$fulldomain"; then
_info "Added"