Skip to content

Commit

Permalink
Merge pull request #6 from Marco4223/Fix-issues-and-reslolve-zone-and…
Browse files Browse the repository at this point in the history
…-record-name

delete spaces in empty lines
  • Loading branch information
phlegx committed Jan 15, 2020
2 parents 96180e7 + 431c53e commit fb209cd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dnsapi/dns_kas.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,14 @@ dns_kas_rm() {
_info "Using DNS-01 All-inkl/Kasserver hook"
_info "Cleaning up after All-inkl/Kasserver hook"
_info "Removing $_fulldomain DNS TXT entry on All-inkl/Kasserver"

_info "Check and Save Props"
_check_and_save
_info "Checking Zone and Record_Name"
_get_zone_and_record_name "$_fulldomain"
_info "Getting Record ID"
_get_record_id

# If there is a record_id, delete the entry
if [ -n "$_record_id" ]; then
params="?kas_login=$KAS_Login"
Expand Down Expand Up @@ -119,7 +119,7 @@ _check_and_save() {
# Gets back the base domain/zone and record name.
# See: https://github.com/Neilpang/acme.sh/wiki/DNS-API-Dev-Guide
_get_zone_and_record_name() {

params="?kas_login=$KAS_Login"
params="?kas_login=$KAS_Login"
params="$params&kas_auth_type=$KAS_Authtype"
params="$params&kas_auth_data=$KAS_Authdata"
Expand Down

0 comments on commit fb209cd

Please sign in to comment.