mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-22 13:11:41 +00:00
reduce info message
This commit is contained in:
parent
acae0ac2a6
commit
83768f0531
@ -30,7 +30,7 @@ mailgun_send() {
|
|||||||
MAILGUN_REGION="${MAILGUN_REGION:-$(_readaccountconf_mutable MAILGUN_REGION)}"
|
MAILGUN_REGION="${MAILGUN_REGION:-$(_readaccountconf_mutable MAILGUN_REGION)}"
|
||||||
if [ -z "$MAILGUN_REGION" ]; then
|
if [ -z "$MAILGUN_REGION" ]; then
|
||||||
MAILGUN_REGION=""
|
MAILGUN_REGION=""
|
||||||
_info "The MAILGUN_REGION is not set, so use the default us region."
|
_debug "The MAILGUN_REGION is not set, so use the default us region."
|
||||||
_MAILGUN_BASE="https://api.mailgun.net/v3"
|
_MAILGUN_BASE="https://api.mailgun.net/v3"
|
||||||
else
|
else
|
||||||
_saveaccountconf_mutable MAILGUN_REGION "$MAILGUN_REGION"
|
_saveaccountconf_mutable MAILGUN_REGION "$MAILGUN_REGION"
|
||||||
@ -83,7 +83,7 @@ mailgun_send() {
|
|||||||
_debug "_msg" "$_msg"
|
_debug "_msg" "$_msg"
|
||||||
_mailgun_rest POST "$_msg"
|
_mailgun_rest POST "$_msg"
|
||||||
if _contains "$response" "Queued. Thank you."; then
|
if _contains "$response" "Queued. Thank you."; then
|
||||||
_info "mailgun send success."
|
_debug "mailgun send success."
|
||||||
return 0
|
return 0
|
||||||
else
|
else
|
||||||
_err "mailgun send error"
|
_err "mailgun send error"
|
||||||
|
Loading…
Reference in New Issue
Block a user