Commit b7834478 authored by ale's avatar ale
Browse files

Set insecure option on the tail submission client

parent b1a4dd4f
......@@ -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
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment