mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-05-08 09:42:44 +00:00
Even more formatting
This commit is contained in:
parent
b30f5c0be7
commit
95ef2a1e60
@ -62,7 +62,7 @@ dns_infoblox_rm() {
|
|||||||
|
|
||||||
if _info "$result" | egrep 'record:txt/.*:.*/default'; then
|
if _info "$result" | egrep 'record:txt/.*:.*/default'; then
|
||||||
# Extract object ref
|
# Extract object ref
|
||||||
objRef=$(grep -Po 'record:txt/.*:.*/default' <<< $result)
|
objRef=$(grep -Po 'record:txt/.*:.*/default' <<<$result)
|
||||||
objRmUrl="https://$Infoblox_Server/wapi/v2.2.2/$objRef"
|
objRmUrl="https://$Infoblox_Server/wapi/v2.2.2/$objRef"
|
||||||
rmResult=$(curl -k -u $Infoblox_Creds -X DELETE $objRmUrl)
|
rmResult=$(curl -k -u $Infoblox_Creds -X DELETE $objRmUrl)
|
||||||
# Check if rm succeeded
|
# Check if rm succeeded
|
||||||
|
Loading…
x
Reference in New Issue
Block a user