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 <danny@dcantah.dev>
This commit is contained in:
parent
4278fbbc7e
commit
4728800abc
@ -29,7 +29,6 @@ import (
|
|||||||
|
|
||||||
"github.com/containerd/ttrpc"
|
"github.com/containerd/ttrpc"
|
||||||
"github.com/hashicorp/go-multierror"
|
"github.com/hashicorp/go-multierror"
|
||||||
"github.com/sirupsen/logrus"
|
|
||||||
"google.golang.org/grpc"
|
"google.golang.org/grpc"
|
||||||
"google.golang.org/grpc/connectivity"
|
"google.golang.org/grpc/connectivity"
|
||||||
"google.golang.org/grpc/credentials/insecure"
|
"google.golang.org/grpc/credentials/insecure"
|
||||||
@ -222,7 +221,7 @@ func makeConnection(ctx context.Context, address string, onClose func()) (_ io.C
|
|||||||
params.Protocol = "ttrpc"
|
params.Protocol = "ttrpc"
|
||||||
}
|
}
|
||||||
|
|
||||||
log.G(ctx).WithFields(logrus.Fields{
|
log.G(ctx).WithFields(log.Fields{
|
||||||
"address": params.Address,
|
"address": params.Address,
|
||||||
"protocol": params.Protocol,
|
"protocol": params.Protocol,
|
||||||
}).Debug("shim bootstrap parameters")
|
}).Debug("shim bootstrap parameters")
|
||||||
|
Loading…
Reference in New Issue
Block a user