Fixing bugs for DO agent-2
This commit is contained in:
parent
7d7b7808d2
commit
99c513e9b2
1 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@ _update_dns_do_get_domain() {
|
||||||
local domain
|
local domain
|
||||||
local response
|
local response
|
||||||
response=$(curl \
|
response=$(curl \
|
||||||
--silent
|
--silent \
|
||||||
-X GET \
|
-X GET \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-H "Authorization: Bearer $agent_update_dns_do_token" \
|
-H "Authorization: Bearer $agent_update_dns_do_token" \
|
||||||
|
@ -66,7 +66,7 @@ _update_dns_do_get_record_id() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
response=$(curl \
|
response=$(curl \
|
||||||
--silent
|
--silent \
|
||||||
-X GET \
|
-X GET \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-H "Authorization: Bearer $agent_update_dns_do_token" \
|
-H "Authorization: Bearer $agent_update_dns_do_token" \
|
||||||
|
|
Loading…
Reference in a new issue