Browse Source
Merge pull request #2157 from hosting-de/fix/read-endpoint
hosting.de: reading endpoint
dnsconf
neil
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
dnsapi/dns_hostingde.sh
|
|
@ -28,6 +28,7 @@ dns_hostingde_rm() { |
|
|
|
|
|
|
|
_hostingde_apiKey() { |
|
|
|
HOSTINGDE_APIKEY="${HOSTINGDE_APIKEY:-$(_readaccountconf_mutable HOSTINGDE_APIKEY)}" |
|
|
|
HOSTINGDE_ENDPOINT="${HOSTINGDE_ENDPOINT:-$(_readaccountconf_mutable HOSTINGDE_ENDPOINT)}" |
|
|
|
if [ -z "$HOSTINGDE_APIKEY" ] || [ -z "$HOSTINGDE_ENDPOINT" ]; then |
|
|
|
HOSTINGDE_APIKEY="" |
|
|
|
HOSTINGDE_ENDPOINT="" |
|
|
|