Skip to content

Commit

Permalink
Merge pull request #77 from xuzhenglun/master
Browse files Browse the repository at this point in the history
fix wrong log pattern
  • Loading branch information
evol262 committed Jun 23, 2022
2 parents 4ec96a3 + 1b781cb commit be7f177
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/sandbox_stop.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func (ds *dockerService) StopPodSandbox(
}
if libdocker.IsContainerNotFoundError(statusErr) {
logrus.Infof(
"Both sandbox container and checkpoint could not be found with id %d. " +
"Both sandbox container and checkpoint could not be found with id %q. " +
"Proceed without further sandbox information.", podSandboxID)
} else {
return nil, errors.NewAggregate([]error{
Expand Down
2 changes: 1 addition & 1 deletion core/stats.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func (ds *dockerService) ListContainerStats(
listResp, err := ds.ListContainers(ctx, &runtimeapi.ListContainersRequest{Filter: filter})
if err != nil {
logrus.Errorf("Error listing containers with filter: %+v", filter)
logrus.Errorf("Error listing containers error: ", err)
logrus.Errorf("Error listing containers error: %s", err)
return nil, err
}

Expand Down

0 comments on commit be7f177

Please sign in to comment.