Skip to content
Snippets Groups Projects
Commit b7834478 authored by ale's avatar ale
Browse files

Set insecure option on the tail submission client

parent b1a4dd4f
No related branches found
No related tags found
No related merge requests found
Pipeline #15058 failed
......@@ -11,6 +11,7 @@ import (
"regexp"
"strings"
"git.autistici.org/ai3/tools/iprep/client"
ippb "git.autistici.org/ai3/tools/iprep/proto"
"git.autistici.org/ai3/tools/iprep/submission"
"github.com/google/subcommands"
......@@ -127,7 +128,11 @@ func (c *tailCommand) run(ctx context.Context) error {
var sub submission.Submitter
if !c.testOnly {
sub, err = submission.New(c.serverAddr, nil)
sub, err = submission.New(c.serverAddr, &submission.Options{
ClientOptions: &client.Options{
Insecure: true,
},
})
if err != nil {
return err
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment