Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
b3e3e080
Commit
b3e3e080
authored
Feb 05, 2019
by
Sebastiaan Hoogeveen
Browse files
Cleaned up some of the comments from shellcheck.
parent
1167cdca
Changes
1
Show whitespace changes
Inline
Side-by-side
dnsapi/dns_nederhost.sh
View file @
b3e3e080
...
@@ -91,7 +91,7 @@ _get_root() {
...
@@ -91,7 +91,7 @@ _get_root() {
fi
fi
if
_nederhost_rest GET
"zones/
${
_domain
}
"
;
then
if
_nederhost_rest GET
"zones/
${
_domain
}
"
;
then
if
[
"
${
_code
}
"
=
=
"204"
]
;
then
if
[
"
${
_code
}
"
=
"204"
]
;
then
return
0
;
return
0
;
fi
fi
else
else
...
@@ -112,7 +112,7 @@ _nederhost_rest() {
...
@@ -112,7 +112,7 @@ _nederhost_rest() {
export
_H1
=
"Authorization: Bearer
$NederHost_Key
"
export
_H1
=
"Authorization: Bearer
$NederHost_Key
"
export
_H2
=
"Content-Type: application/json"
export
_H2
=
"Content-Type: application/json"
:>
$HTTP_HEADER
:>
"
$HTTP_HEADER
"
if
[
"
$m
"
!=
"GET"
]
;
then
if
[
"
$m
"
!=
"GET"
]
;
then
_debug data
"
$data
"
_debug data
"
$data
"
...
...
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