[TASK] convert tabs to spaces
This commit is contained in:
parent
6848b133bc
commit
3a2f72b491
@ -12,8 +12,7 @@ KAPPERNETDNS_Api="https://dnspanel.kapper.net/API/1.1?APIKey=$KAPPERNETDNS_Key&A
|
||||
# called with
|
||||
# fullhostname: something.example.com
|
||||
# txtvalue: someacmegenerated string
|
||||
dns_kappernet_add()
|
||||
{
|
||||
dns_kappernet_add() {
|
||||
fullhostname=$1
|
||||
txtvalue=$2
|
||||
|
||||
@ -25,7 +24,7 @@ dns_kappernet_add()
|
||||
return 1
|
||||
fi
|
||||
|
||||
#store the api key and email to the account conf file.
|
||||
#store the api key and email to the account conf file.
|
||||
_saveaccountconf KAPPERNETDNS_Key "$KAPPERNETDNS_Key"
|
||||
_saveaccountconf KAPPERNETDNS_Secret "$KAPPERNETDNS_Secret"
|
||||
_debug "Checking Domain ..."
|
||||
@ -56,8 +55,7 @@ dns_kappernet_add()
|
||||
###############################################################################
|
||||
# called with
|
||||
# fullhostname: something.example.com
|
||||
dns_kappernet_rm()
|
||||
{
|
||||
dns_kappernet_rm() {
|
||||
fullhostname=$1
|
||||
txtvalue=$2
|
||||
|
||||
@ -69,7 +67,7 @@ dns_kappernet_rm()
|
||||
return 1
|
||||
fi
|
||||
|
||||
#store the api key and email to the account conf file.
|
||||
#store the api key and email to the account conf file.
|
||||
_saveaccountconf KAPPERNETDNS_Key "$KAPPERNETDNS_Key"
|
||||
_saveaccountconf KAPPERNETDNS_Secret "$KAPPERNETDNS_Secret"
|
||||
|
||||
@ -94,8 +92,7 @@ dns_kappernet_rm()
|
||||
# e.g._acme-challenge.www.domain.com returns
|
||||
# _sub_domain=_acme-challenge.www
|
||||
# _domain=domain.com
|
||||
_get_root()
|
||||
{
|
||||
_get_root() {
|
||||
domain=$1
|
||||
i=2
|
||||
p=1
|
||||
@ -125,8 +122,7 @@ _get_root()
|
||||
# with
|
||||
# method
|
||||
# param
|
||||
_kappernet_api()
|
||||
{
|
||||
_kappernet_api() {
|
||||
method=$1
|
||||
param="$2"
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user