From b722efa42fdfd3e153eb9b5ff1b4b350751d9503 Mon Sep 17 00:00:00 2001 From: Mikhail Avramenko Date: Mon, 6 Dec 2021 17:07:40 +0700 Subject: [PATCH] manual sdk update Signed-off-by: Mikhail Avramenko --- go.mod | 2 +- go.sum | 3 ++- main.go | 3 +-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/go.mod b/go.mod index 452ae37..a648507 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ require ( github.com/edwarnicke/grpcfd v0.1.1 github.com/kelseyhightower/envconfig v1.4.0 github.com/networkservicemesh/api v1.0.1-0.20211110183123-3038992da61a - github.com/networkservicemesh/sdk v0.5.1-0.20211202071606-292c0c4ea23b + github.com/networkservicemesh/sdk v0.5.1-0.20211206072630-c6c78c35dd5f github.com/networkservicemesh/sdk-sriov v0.0.0-20211203071540-ec215cc757fc github.com/pkg/errors v0.9.1 github.com/sirupsen/logrus v1.7.0 diff --git a/go.sum b/go.sum index d41e331..bf40008 100644 --- a/go.sum +++ b/go.sum @@ -130,8 +130,9 @@ github.com/nats-io/nuid v1.0.1/go.mod h1:19wcPz3Ph3q0Jbyiqsd0kePYG7A95tJPxeL+1OS github.com/nats-io/stan.go v0.10.0/go.mod h1:0jEuBXKauB1HHJswHM/lx05K48TJ1Yxj6VIfM4k+aB4= github.com/networkservicemesh/api v1.0.1-0.20211110183123-3038992da61a h1:gSujYHmGiOpJyzPGZdW2ymMpmDHCMBdbUMXCVzOtrh8= github.com/networkservicemesh/api v1.0.1-0.20211110183123-3038992da61a/go.mod h1:B6meq/SWjWR6bGXZdXPfbOeaBK+T1JayLdtEJQCsXKU= -github.com/networkservicemesh/sdk v0.5.1-0.20211202071606-292c0c4ea23b h1:g0t17i2/Go2vtRrCBQoiwxskyn9QPCbvhtn9pYsVPi8= github.com/networkservicemesh/sdk v0.5.1-0.20211202071606-292c0c4ea23b/go.mod h1:9ZCaoauLu+52PLj/BXnYH5w9Pk9jdhaeMA14zb0PUxA= +github.com/networkservicemesh/sdk v0.5.1-0.20211206072630-c6c78c35dd5f h1:CbFyKbIgdtY6qifUH/0/Sh2rdij4kzw7isCGUa0YS7E= +github.com/networkservicemesh/sdk v0.5.1-0.20211206072630-c6c78c35dd5f/go.mod h1:9ZCaoauLu+52PLj/BXnYH5w9Pk9jdhaeMA14zb0PUxA= github.com/networkservicemesh/sdk-kernel v0.0.0-20211202071849-d81fc334ecf5/go.mod h1:THpAHEL81PBAmpYcWX5DJJGfjq6xHxu6YjVttxz2iEg= github.com/networkservicemesh/sdk-sriov v0.0.0-20211203071540-ec215cc757fc h1:5P5C8q93VYm7fRFO/MWpFOrQK/zlXskKqT3e8qkks54= github.com/networkservicemesh/sdk-sriov v0.0.0-20211203071540-ec215cc757fc/go.mod h1:v7xXdC8B2UV+dNjtE35u6ALjgeYKib/2UnJoMl9yAOQ= diff --git a/main.go b/main.go index ffb6708..da88a68 100644 --- a/main.go +++ b/main.go @@ -71,8 +71,7 @@ func main() { // ******************************************************************************** logrus.Info("Starting NetworkServiceMesh Client ...") logrus.SetFormatter(&nested.Formatter{}) - ctx = log.WithFields(ctx, map[string]interface{}{"cmd": os.Args[:1]}) - ctx = log.WithLog(ctx, logruslogger.New(ctx)) + ctx = log.WithLog(ctx, logruslogger.New(ctx, map[string]interface{}{"cmd": os.Args[:1]})) // Enable Jaeger log.EnableTracing(true)