Skip to content
This repository was archived by the owner on May 12, 2021. It is now read-only.

Commit 7ce9fa5

Browse files
author
Julio Montes
authored
Merge pull request #512 from teawater/grpc
agent: Fix "agent grpc server quits" show wrong error
2 parents 4f462c5 + 209aa2f commit 7ce9fa5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

agent.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1068,7 +1068,7 @@ func (s *sandbox) startGRPC() {
10681068
// l is closed when Serve() returns
10691069
servErr = grpcServer.Serve(l)
10701070
if servErr != nil {
1071-
agentLog.WithError(err).Warn("agent grpc server quits")
1071+
agentLog.WithError(servErr).Warn("agent grpc server quits")
10721072
}
10731073

10741074
err = s.channel.teardown()

0 commit comments

Comments
 (0)