Skip to content

Commit d9bd76d

Browse files
author
Lucas Wang
authored
Fixing the zero client in live loader to avoid using TLS (#3936)
1 parent 962b0dd commit d9bd76d

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

dgraph/cmd/live/run.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,9 @@ func setup(opts batchMutationOptions, dc *dgo.Dgraph) *loader {
252252
x.Checkf(err, "Error while creating badger KV posting store")
253253

254254
// compression with zero server actually makes things worse
255-
connzero, err := x.SetupConnection(opt.zero, &tlsConf, false)
255+
connzero, err := x.SetupConnection(opt.zero, &x.TLSHelperConfig{
256+
CertRequired: false,
257+
}, false)
256258
x.Checkf(err, "Unable to connect to zero, Is it running at %s?", opt.zero)
257259

258260
alloc := xidmap.New(

0 commit comments

Comments
 (0)