Formatting, redux

This commit is contained in:
Jason 2017-03-17 13:19:42 -05:00 committed by GitHub
parent 360089623b
commit 73e4539793

View File

@ -72,7 +72,7 @@ dns_infoblox_rm() {
objRef=$(egrep -o 'record:txt/.*:.*/default' <<<$result) objRef=$(egrep -o 'record:txt/.*:.*/default' <<<$result)
objRmUrl="https://$Infoblox_Server/wapi/v2.2.2/$objRef" objRmUrl="https://$Infoblox_Server/wapi/v2.2.2/$objRef"
## Delete them! All the stale records! ## Delete them! All the stale records!
rmResult=$(_post "" "$objRmUrl" "" "DELETE") rmResult=$(_post "" "$objRmUrl" "" "DELETE")
## Let's see if that worked ## Let's see if that worked
if echo "$rmResult" | egrep 'record:txt/.*:.*/default'; then if echo "$rmResult" | egrep 'record:txt/.*:.*/default'; then
_info "Successfully deleted $objRef" _info "Successfully deleted $objRef"