From d16f00cc51df9262ea0cc176f341ac4336610a10 Mon Sep 17 00:00:00 2001 From: Shelikhoo Date: Mon, 12 Apr 2021 01:17:49 +0100 Subject: [PATCH] fix test with new init function signature --- app/router/command/command_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/router/command/command_test.go b/app/router/command/command_test.go index 3b4e584bb..9c6c0a8af 100644 --- a/app/router/command/command_test.go +++ b/app/router/command/command_test.go @@ -213,7 +213,7 @@ func TestSerivceTestRoute(t *testing.T) { r := new(router.Router) mockCtl := gomock.NewController(t) defer mockCtl.Finish() - common.Must(r.Init(&router.Config{ + common.Must(r.Init(context.TODO(), &router.Config{ Rule: []*router.RoutingRule{ { InboundTag: []string{"in"},