mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-05-10 12:02:51 +00:00
fix style
This commit is contained in:
parent
154dfb4430
commit
f722e830fb
@ -1,6 +1,7 @@
|
||||
#!/usr/bin/env sh
|
||||
#
|
||||
#Author: lebaned
|
||||
# DNS API for Versio.nl
|
||||
# Author: lebaned <github@bakker.cloud>
|
||||
# Report Bugs here: https://github.com/lebaned/acme.sh
|
||||
#
|
||||
######## Public functions #####################
|
||||
@ -13,7 +14,6 @@ dns_versio_add() {
|
||||
_debug fulldomain "$fulldomain"
|
||||
_debug txtvalue "$txtvalue"
|
||||
|
||||
|
||||
if ! _get_credentials; then
|
||||
return 1
|
||||
fi
|
||||
@ -71,9 +71,9 @@ dns_versio_rm() {
|
||||
return 1
|
||||
fi
|
||||
|
||||
_info fulldomain "$fulldomain"
|
||||
_info _domain "$_domain"
|
||||
_info _sub_domain "$_sub_domain"
|
||||
_debug fulldomain "$fulldomain"
|
||||
_debug _domain "$_domain"
|
||||
_debug _sub_domain "$_sub_domain"
|
||||
|
||||
if ! _get_dns_records "$_domain"; then
|
||||
_err "invalid domain"
|
||||
@ -96,8 +96,6 @@ dns_versio_rm() {
|
||||
|
||||
#################### Private functions below ##################################
|
||||
|
||||
|
||||
|
||||
#_acme-challenge.www.domain.com
|
||||
#returns
|
||||
# _sub_domain=_acme-challenge.www
|
||||
@ -163,7 +161,6 @@ _versio_rest() {
|
||||
_debug ep "$ep"
|
||||
|
||||
VERSIO_API_URL="https://www.versio.nl/api/v1"
|
||||
|
||||
VERSIO_CREDENTIALS_BASE64=$(printf "%s:%s" "$Versio_Username" "$Versio_Password" | openssl enc -base64)
|
||||
|
||||
export _H1="Accept: application/json"
|
||||
@ -208,7 +205,6 @@ _get_credentials() {
|
||||
_err "Example:"
|
||||
_err "export Versio_Username=[email address]"
|
||||
_err "export Versio_Password=[password]"
|
||||
_err "Please create you key and try again."
|
||||
return 1
|
||||
fi
|
||||
return 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user