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
3ccac629
Commit
3ccac629
authored
Dec 12, 2019
by
Martin Kammerlander
Browse files
Change the loop for sh.
parent
953a9b17
Changes
1
Show whitespace changes
Inline
Side-by-side
dnsapi/dns_kas.sh
View file @
3ccac629
...
@@ -76,9 +76,7 @@ dns_kas_rm() {
...
@@ -76,9 +76,7 @@ dns_kas_rm() {
params
=
"
$params
&kas_auth_data=
$KAS_Authdata
"
params
=
"
$params
&kas_auth_data=
$KAS_Authdata
"
params
=
"
$params
&kas_action=delete_dns_settings"
params
=
"
$params
&kas_action=delete_dns_settings"
# split it into a seperated list, if there where multiples entries made
for
i
in
$_record_id
;
do
records
=(
$_record_id
)
for
i
in
"
${
records
[@]
}
"
;
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."
...
...
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