Skip to content

Commit

Permalink
x: increment loop variable (#4036)
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnps authored and manishrjain committed Sep 24, 2019
1 parent 3621e1a commit 412831e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/x.go
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ func GetDgraphClient(conf *viper.Viper, login bool) (*dgo.Dgraph, CloseFunc) {

for _, d := range ds {
var conn *grpc.ClientConn
for i := 0; i < retries; retries++ {
for i := 0; i < retries; i++ {
conn, err = SetupConnection(d, tlsCfg, false)
if err == nil {
break
Expand Down

0 comments on commit 412831e

Please sign in to comment.