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
3bc59a03
Commit
3bc59a03
authored
Feb 26, 2018
by
nytral
Browse files
first attempt to fix CI errors
parent
5a883889
Changes
1
Show whitespace changes
Inline
Side-by-side
dnsapi/dns_me.sh
View file @
3bc59a03
...
...
@@ -43,7 +43,7 @@ dns_me_add() {
return
1
fi
#
_info "Adding record"
_info
"Adding record"
if
_me_rest POST
"
$_domain_id
/records/"
"{
\"
type
\"
:
\"
TXT
\"
,
\"
name
\"
:
\"
$_sub_domain
\"
,
\"
value
\"
:
\"
$txtvalue
\"
,
\"
gtdLocation
\"
:
\"
DEFAULT
\"
,
\"
ttl
\"
:120}"
;
then
if
printf
--
"%s"
"
$response
"
|
grep
\"
id
\"
:
>
/dev/null
;
then
_info
"Added"
...
...
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