diff --git a/clientv3/lease.go b/clientv3/lease.go index e532ed469f6..ae2a136ddd4 100644 --- a/clientv3/lease.go +++ b/clientv3/lease.go @@ -141,7 +141,7 @@ func (l *lessor) Grant(ctx context.Context, ttl int64) (*LeaseGrantResponse, err return gresp, nil } if isHaltErr(cctx, err) { - return nil, toErr(ctx, err) + return nil, toErr(cctx, err) } if nerr := l.newStream(); nerr != nil { return nil, nerr