Browse Source

Formatting, redux

pull/655/head
Jason 9 years ago
committed by GitHub
parent
commit
73e4539793
  1. 2
      dns_infoblox.sh

2
dns_infoblox.sh

@ -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"

Loading…
Cancel
Save