Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
Neilpang committed Apr 17, 2021
1 parent cfbc294 commit f3682f0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions dnsapi/dns_one.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
# export ONECOM_User="username"
# export ONECOM_Password="password"


dns_one_add() {
fulldomain=$1
txtvalue=$2
Expand All @@ -24,11 +23,9 @@ dns_one_add() {
subdomain="${_sub_domain}"
maindomain=${_domain}


_debug subdomain "$subdomain"
_debug maindomain "$maindomain"


#Check if the TXT exists
_dns_one_getrecord "TXT" "$subdomain" "$txtvalue"
if [ -n "$id" ]; then
Expand Down

0 comments on commit f3682f0

Please sign in to comment.