mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-29 04:51:34 +00:00
Merge pull request #1529 from wainersm/for_stable-2.0
[backport] runtime: Fix missing 'name' field on containerd-shim-v2 logs
This commit is contained in:
commit
c27c3c40dd
@ -59,7 +59,10 @@ var (
|
||||
var vci vc.VC = &vc.VCImpl{}
|
||||
|
||||
// shimLog is logger for shim package
|
||||
var shimLog = logrus.WithField("source", "containerd-kata-shim-v2")
|
||||
var shimLog = logrus.WithFields(logrus.Fields{
|
||||
"source": "containerd-kata-shim-v2",
|
||||
"name": "containerd-shim-v2",
|
||||
})
|
||||
|
||||
// New returns a new shim service that can be used via GRPC
|
||||
func New(ctx context.Context, id string, publisher events.Publisher) (cdshim.Shim, error) {
|
||||
|
Loading…
Reference in New Issue
Block a user