From 4728800abc5d540540350c8096adbdfd47787984 Mon Sep 17 00:00:00 2001 From: Danny Canter Date: Mon, 20 Feb 2023 18:29:56 -0800 Subject: [PATCH] runtime/v2: Get rid of last logrus.Fields usage https://github.com/containerd/containerd/pull/8143 added an alias for logrus.Fields and moved over most usages to this alias, but there was one straggler. Signed-off-by: Danny Canter --- runtime/v2/shim.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/runtime/v2/shim.go b/runtime/v2/shim.go index 1a7532b3b..86d2e40d6 100644 --- a/runtime/v2/shim.go +++ b/runtime/v2/shim.go @@ -29,7 +29,6 @@ import ( "github.com/containerd/ttrpc" "github.com/hashicorp/go-multierror" - "github.com/sirupsen/logrus" "google.golang.org/grpc" "google.golang.org/grpc/connectivity" "google.golang.org/grpc/credentials/insecure" @@ -222,7 +221,7 @@ func makeConnection(ctx context.Context, address string, onClose func()) (_ io.C params.Protocol = "ttrpc" } - log.G(ctx).WithFields(logrus.Fields{ + log.G(ctx).WithFields(log.Fields{ "address": params.Address, "protocol": params.Protocol, }).Debug("shim bootstrap parameters")