Clean up formatting (SHFMT)
This commit is contained in:
parent
d519873fa4
commit
52243d0870
@ -27,7 +27,7 @@ dns_infoblox_add() {
|
|||||||
_info "No Infoblox_View set, using fallback value 'default'"
|
_info "No Infoblox_View set, using fallback value 'default'"
|
||||||
Infoblox_View="default"
|
Infoblox_View="default"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
## Save the credentials to the account file
|
## Save the credentials to the account file
|
||||||
_saveaccountconf Infoblox_Creds "$Infoblox_Creds"
|
_saveaccountconf Infoblox_Creds "$Infoblox_Creds"
|
||||||
_saveaccountconf Infoblox_Server "$Infoblox_Server"
|
_saveaccountconf Infoblox_Server "$Infoblox_Server"
|
||||||
@ -45,7 +45,7 @@ dns_infoblox_add() {
|
|||||||
|
|
||||||
## Construct the request URL
|
## Construct the request URL
|
||||||
baseurlnObject="https://$Infoblox_Server/wapi/v2.2.2/record:txt?name=$fulldomain&text=$txtvalue&view=${Infoblox_ViewEncoded}"
|
baseurlnObject="https://$Infoblox_Server/wapi/v2.2.2/record:txt?name=$fulldomain&text=$txtvalue&view=${Infoblox_ViewEncoded}"
|
||||||
|
|
||||||
## Add the challenge record to the Infoblox grid member
|
## Add the challenge record to the Infoblox grid member
|
||||||
result="$(_post "" "$baseurlnObject" "" "POST")"
|
result="$(_post "" "$baseurlnObject" "" "POST")"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user