Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manual sdk update #19

Merged
merged 1 commit into from
Dec 10, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ require (
github.com/golang/protobuf v1.4.3
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-sriov v0.0.0-20211203071540-ec215cc757fc
github.com/networkservicemesh/sdk-vpp v0.0.0-20211202072305-fee5b16772b8
github.com/networkservicemesh/sdk v0.5.1-0.20211209170740-8e964705e604
github.com/networkservicemesh/sdk-sriov v0.0.0-20211209171755-e42f0b4e36b5
github.com/networkservicemesh/sdk-vpp v0.0.0-20211209201026-f5129e1ae6c9
github.com/pkg/errors v0.9.1
github.com/sirupsen/logrus v1.8.1
github.com/spiffe/go-spiffe/v2 v2.0.0-beta.10
Expand Down
14 changes: 7 additions & 7 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -166,13 +166,13 @@ 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-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=
github.com/networkservicemesh/sdk-vpp v0.0.0-20211202072305-fee5b16772b8 h1:Xs56ODwU0mdGq0umCMA9Ei9j3wwkRrES+q4Y5ZH137g=
github.com/networkservicemesh/sdk-vpp v0.0.0-20211202072305-fee5b16772b8/go.mod h1:fD7Qwr5ilsfs7atlE9zDikWoe1yQBzxKFsVjGek50Qo=
github.com/networkservicemesh/sdk v0.5.1-0.20211209170740-8e964705e604 h1:9jGY0opa023WFE3QUtLVYgZRwU7njUiXghRmhD+VxbA=
github.com/networkservicemesh/sdk v0.5.1-0.20211209170740-8e964705e604/go.mod h1:9ZCaoauLu+52PLj/BXnYH5w9Pk9jdhaeMA14zb0PUxA=
github.com/networkservicemesh/sdk-kernel v0.0.0-20211209171028-4ae4c5632077/go.mod h1:WEmSY7u0R4RVNOjcL3qh4Kl1yJ+kgsUtxMLGETzftco=
github.com/networkservicemesh/sdk-sriov v0.0.0-20211209171755-e42f0b4e36b5 h1:8c4sOWpp1vafLGYUI9x+/vd0aVzESVy3ysR/4Q2hSMk=
github.com/networkservicemesh/sdk-sriov v0.0.0-20211209171755-e42f0b4e36b5/go.mod h1:DBev8z2yyKFKp/wRfbz91dL3/suh9cjxgwyinMUq/MU=
github.com/networkservicemesh/sdk-vpp v0.0.0-20211209201026-f5129e1ae6c9 h1:huf10xEFdbQ2hEepTkHWp7Fvz459zh/mUt8carrDS0k=
github.com/networkservicemesh/sdk-vpp v0.0.0-20211209201026-f5129e1ae6c9/go.mod h1:854RKP1vCDjgEwcuN4kdyVED10PcL/zEhvHu3VQd7HM=
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e h1:fD57ERR4JtEqsWbfPhv4DMiApHyliiK5xCTNVSPiaAs=
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno=
github.com/olekukonko/tablewriter v0.0.1/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo=
Expand Down
3 changes: 1 addition & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,7 @@ func registerEndpoint(ctx context.Context, config *Config, source *workloadapi.X

func setLogger(ctx context.Context) {
logrus.SetFormatter(&nested.Formatter{})
ctx = log.WithFields(ctx, map[string]interface{}{"cmd": os.Args[0]})
ctx = log.WithLog(ctx, logruslogger.New(ctx))
ctx = log.WithLog(ctx, logruslogger.New(ctx, map[string]interface{}{"cmd": os.Args[0]}))

if err := debug.Self(); err != nil {
log.FromContext(ctx).Infof("%s", err)
Expand Down