Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
5494e88e
Commit
5494e88e
authored
Aug 01, 2018
by
Oliver Dick
Browse files
making shfmt happy
parent
86276ad1
Changes
1
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_hostingde.sh
View file @
5494e88e
...
...
@@ -6,7 +6,6 @@
# export HOSTINGDE_ENDPOINT='https://secure.hosting.de'
# export HOSTINGDE_APIKEY='xxxxx'
######## Public functions #####################
dns_hostingde_add
()
{
...
...
@@ -55,7 +54,7 @@ _hostingde_getZoneConfig() {
_err
"UNKNOWN API ERROR"
fi
returnCode
=
1
break
;
break
fi
if
_contains
"
${
curResult
}
"
'"totalEntries": 1'
;
then
_info
"Retrieved zone data."
...
...
@@ -70,7 +69,7 @@ _hostingde_getZoneConfig() {
curZone
=
"
${
curZone
#*.
}
"
done
if
[
$returnCode
-ne
0
]
;
then
_info
"ZoneEnd reached, Zone
${
curZone
}
not found in hosting.de API"
_info
"ZoneEnd reached, Zone
${
curZone
}
not found in hosting.de API"
fi
return
$returnCode
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment