Skip to content

Commit

Permalink
fix go client bug
Browse files Browse the repository at this point in the history
  • Loading branch information
lengyuexuexuan committed Feb 22, 2024
1 parent 41141c1 commit 54b478a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go-client/session/meta_call.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ func (c *metaCall) issueSingleMeta(ctx context.Context, curLeader int) bool {
})
curLeader = len(c.metas) - 1
c.metas[curLeader].logger.Printf("add forward address %s as meta server", addr)
resp, err = c.callFunc(ctx, c.metas[curLeader])
}
resp, err = c.callFunc(ctx, c.metas[curLeader])
}

if err != nil || resp.GetErr().Errno == base.ERR_FORWARD_TO_OTHERS.String() {
Expand Down

0 comments on commit 54b478a

Please sign in to comment.