mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2026-01-17 14:22:13 +08:00
fix format
This commit is contained in:
@@ -7,7 +7,7 @@ CN_API="https://beta.api.core-networks.de"
|
||||
|
||||
######## Public functions #####################
|
||||
|
||||
dns_cn_add(){
|
||||
dns_cn_add() {
|
||||
fulldomain=$1
|
||||
txtvalue=$2
|
||||
|
||||
@@ -50,7 +50,7 @@ dns_cn_add(){
|
||||
fi
|
||||
}
|
||||
|
||||
dns_cn_rm(){
|
||||
dns_cn_rm() {
|
||||
fulldomain=$1
|
||||
txtvalue=$2
|
||||
|
||||
@@ -80,7 +80,6 @@ dns_cn_rm(){
|
||||
return 0
|
||||
}
|
||||
|
||||
|
||||
################### Private functions below ##################################
|
||||
_cn_login() {
|
||||
CN_User="${CN_User:-$(_readaccountconf_mutable CN_User)}"
|
||||
@@ -114,12 +113,12 @@ _cn_login() {
|
||||
}
|
||||
|
||||
# Commit changes
|
||||
_cn_commit(){
|
||||
_cn_commit() {
|
||||
_info "Commiting changes"
|
||||
_post "" "${CN_API}/dnszones/$h/records/commit"
|
||||
}
|
||||
|
||||
_cn_get_root(){
|
||||
_cn_get_root() {
|
||||
domain=$1
|
||||
i=2
|
||||
p=1
|
||||
|
||||
Reference in New Issue
Block a user