mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-17 06:48:51 +00:00
Merge pull request #1480 from wainersm/fix_shim_log
runtime: Fix missing 'name' field on containerd-shim-v2 logs
This commit is contained in:
@@ -62,7 +62,10 @@ var (
|
|||||||
var vci vc.VC = &vc.VCImpl{}
|
var vci vc.VC = &vc.VCImpl{}
|
||||||
|
|
||||||
// shimLog is logger for shim package
|
// 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
|
// 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) {
|
func New(ctx context.Context, id string, publisher events.Publisher) (cdshim.Shim, error) {
|
||||||
|
Reference in New Issue
Block a user