Triggering pipeline with DNS_WILDCARD

This commit is contained in:
asavin 2025-04-24 16:05:20 +02:00
parent 7f1423dd6f
commit 419738fbd5

View File

@ -83,10 +83,10 @@ dns_efficientip_add() {
result="$(_post "" "${baseurlnObject}" "" "POST")" result="$(_post "" "${baseurlnObject}" "" "POST")"
if [ "$(echo "${result}" | _egrep_o "ret_oid")" ]; then if [ "$(echo "${result}" | _egrep_o "ret_oid")" ]; then
_info "Record successfully created" _info "DNS record successfully created"
return 0 return 0
else else
_err "Error creating the DNS record" _err "Error creating DNS record"
_err "${result}" _err "${result}"
return 1 return 1
fi fi
@ -130,10 +130,10 @@ dns_efficientip_rm() {
result="$(_post "" "${baseurlnObject}" "" "DELETE")" result="$(_post "" "${baseurlnObject}" "" "DELETE")"
if [ "$(echo "${result}" | _egrep_o "ret_oid")" ]; then if [ "$(echo "${result}" | _egrep_o "ret_oid")" ]; then
_info "Record successfully deleted" _info "DNS Record successfully deleted"
return 0 return 0
else else
_err "Error deleting the DNS record" _err "Error deleting DNS record"
_err "${result}" _err "${result}"
return 1 return 1
fi fi