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
c641b61b
Commit
c641b61b
authored
Nov 29, 2019
by
Martin Kammerlander
Browse files
Fix a few snytax issues
parent
d87e5078
Changes
1
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_kas.sh
View file @
c641b61b
...
@@ -78,8 +78,7 @@ dns_kas_rm() {
...
@@ -78,8 +78,7 @@ dns_kas_rm() {
# split it into a seperated list, if there where multiples entries made
# split it into a seperated list, if there where multiples entries made
records
=(
$_record_id
)
records
=(
$_record_id
)
for
i
in
"
${
records
[@]
}
"
for
i
in
"
${
records
[@]
}
"
;
do
do
params2
=
"
$params
&var1=record_id"
params2
=
"
$params
&var1=record_id"
params2
=
"
$params2
&wert1=
$i
"
params2
=
"
$params2
&wert1=
$i
"
_debug2
"Wait for 10 seconds by default before calling KAS API."
_debug2
"Wait for 10 seconds by default before calling KAS API."
...
@@ -95,7 +94,7 @@ dns_kas_rm() {
...
@@ -95,7 +94,7 @@ dns_kas_rm() {
_err
"No record_id found that can be deleted. Please check manually."
_err
"No record_id found that can be deleted. Please check manually."
return
1
return
1
fi
fi
return
0
return
0
}
}
########################## PRIVATE FUNCTIONS ###########################
########################## PRIVATE FUNCTIONS ###########################
...
...
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