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
0170c20e
Commit
0170c20e
authored
Jan 09, 2018
by
neilpang
Browse files
fix format
parent
01cc2e13
Changes
1
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_ovh.sh
View file @
0170c20e
...
@@ -78,7 +78,6 @@ _ovh_get_api() {
...
@@ -78,7 +78,6 @@ _ovh_get_api() {
esac
esac
}
}
_initAuth
()
{
_initAuth
()
{
if
[
-z
"
$OVH_AK
"
]
||
[
-z
"
$OVH_AS
"
]
;
then
if
[
-z
"
$OVH_AK
"
]
||
[
-z
"
$OVH_AS
"
]
;
then
OVH_AK
=
""
OVH_AK
=
""
...
@@ -181,7 +180,7 @@ dns_ovh_rm() {
...
@@ -181,7 +180,7 @@ dns_ovh_rm() {
return
1
return
1
fi
fi
for
rid
in
$(
echo
"
$response
"
|
tr
'[,
]
'
' '
)
;
do
for
rid
in
$(
echo
"
$response
"
|
tr
'
]
[,'
' '
)
;
do
_debug rid
"
$rid
"
_debug rid
"
$rid
"
if
!
_ovh_rest GET
"domain/zone/
$_domain
/record/
$rid
"
;
then
if
!
_ovh_rest GET
"domain/zone/
$_domain
/record/
$rid
"
;
then
return
1
return
1
...
...
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