Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
feudal
feudalClient
Commits
0b4cc67f
Commit
0b4cc67f
authored
Feb 26, 2018
by
Lukas Burgey
Browse files
Reactivate certificate check
parent
bb8f4418
Changes
1
Show whitespace changes
Inline
Side-by-side
client.go
View file @
0b4cc67f
package
main
import
(
"crypto/tls"
"encoding/json"
"fmt"
"io/ioutil"
...
...
@@ -62,11 +61,7 @@ const (
)
var
(
// TODO fix certs
tr
=
&
http
.
Transport
{
TLSClientConfig
:
&
tls
.
Config
{
InsecureSkipVerify
:
true
},
}
client
=
&
http
.
Client
{
Transport
:
tr
}
client
=
&
http
.
Client
{}
)
func
failOnError
(
err
error
,
msg
string
)
{
...
...
Write
Preview
Supports
Markdown
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