We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 226d555 commit 7f4d96fCopy full SHA for 7f4d96f
1 file changed
dgraph/cmd/live/run.go
@@ -20,7 +20,6 @@ import (
20
"bufio"
21
"compress/gzip"
22
"context"
23
- "crypto/tls"
24
"fmt"
25
"io"
26
"io/ioutil"
@@ -65,8 +64,7 @@ type options struct {
65
64
}
66
67
var (
68
- opt options
69
- tlsCfg *tls.Config
+ opt options
70
// Live is the sub-command invoked when running "dgraph live".
71
Live x.SubCommand
72
)
@@ -241,7 +239,7 @@ func setup(opts batchMutationOptions, dc *dgo.Dgraph) *loader {
241
239
242
240
243
// compression with zero server actually makes things worse
244
- connzero, err := x.SetupConnection(opt.zero, tlsCfg, false)
+ connzero, err := x.SetupConnection(opt.zero, nil, false)
245
x.Checkf(err, "Unable to connect to zero, Is it running at %s?", opt.zero)
246
247
alloc := xidmap.New(connzero, db)
0 commit comments