Skip to content

Commit

Permalink
Merge pull request kata-containers#512 from teawater/grpc
Browse files Browse the repository at this point in the history
agent: Fix "agent grpc server quits" show wrong error
  • Loading branch information
Julio Montes authored Apr 3, 2019
2 parents 4f462c5 + 209aa2f commit 7ce9fa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -1068,7 +1068,7 @@ func (s *sandbox) startGRPC() {
// l is closed when Serve() returns
servErr = grpcServer.Serve(l)
if servErr != nil {
agentLog.WithError(err).Warn("agent grpc server quits")
agentLog.WithError(servErr).Warn("agent grpc server quits")
}

err = s.channel.teardown()
Expand Down

0 comments on commit 7ce9fa5

Please sign in to comment.