Skip to content

Commit e1e332b

Browse files
committed
fix log and comment
1 parent b7c2570 commit e1e332b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/loop/internal/net/client.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ func (c *clientConn) Invoke(ctx context.Context, method string, args any, reply
8787
if ctx.Err() != nil {
8888
// If the context gets canceled or its deadline is exceeded, stop trying to
8989
// connect in order to not block the caller indefinitely.
90-
// If for whatever reason the LOOPP is down the client should retry whatever
90+
// If for whatever reason the LOOPP is down the caller should retry whatever
9191
// call they were making.
9292
c.Logger.Warnw("clientConn: Invoke: context canceled, stopping refresh",
9393
"method", method,
@@ -126,9 +126,9 @@ func (c *clientConn) NewStream(ctx context.Context, desc *grpc.StreamDesc, metho
126126
if ctx.Err() != nil {
127127
// If the context gets canceled or its deadline is exceeded, stop trying to
128128
// connect in order to not block the caller indefinitely.
129-
// If for whatever reason the LOOPP is down the client should retry whatever
129+
// If for whatever reason the LOOPP is down the caller should retry whatever
130130
// call they were making.
131-
c.Logger.Warnw("clientConn: Invoke: context canceled, stopping refresh",
131+
c.Logger.Warnw("clientConn: NewStream: context canceled, stopping refresh",
132132
"method", method,
133133
"err", err,
134134
"ctxErr", ctx.Err())

0 commit comments

Comments
 (0)