Browse Source

[TASK] convert tabs to spaces

pull/1152/head
Christoph Schwob 6 years ago
parent
commit
3a2f72b491
  1. 12
      dnsapi/dns_kappernet.sh

12
dnsapi/dns_kappernet.sh

@ -12,8 +12,7 @@ KAPPERNETDNS_Api="https://dnspanel.kapper.net/API/1.1?APIKey=$KAPPERNETDNS_Key&A
# called with # called with
# fullhostname: something.example.com # fullhostname: something.example.com
# txtvalue: someacmegenerated string # txtvalue: someacmegenerated string
dns_kappernet_add()
{
dns_kappernet_add() {
fullhostname=$1 fullhostname=$1
txtvalue=$2 txtvalue=$2
@ -56,8 +55,7 @@ dns_kappernet_add()
############################################################################### ###############################################################################
# called with # called with
# fullhostname: something.example.com # fullhostname: something.example.com
dns_kappernet_rm()
{
dns_kappernet_rm() {
fullhostname=$1 fullhostname=$1
txtvalue=$2 txtvalue=$2
@ -94,8 +92,7 @@ dns_kappernet_rm()
# e.g._acme-challenge.www.domain.com returns # e.g._acme-challenge.www.domain.com returns
# _sub_domain=_acme-challenge.www # _sub_domain=_acme-challenge.www
# _domain=domain.com # _domain=domain.com
_get_root()
{
_get_root() {
domain=$1 domain=$1
i=2 i=2
p=1 p=1
@ -125,8 +122,7 @@ _get_root()
# with # with
# method # method
# param # param
_kappernet_api()
{
_kappernet_api() {
method=$1 method=$1
param="$2" param="$2"

Loading…
Cancel
Save