update for latest micro

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2021-01-29 14:45:37 +03:00
parent b1a3401b9b
commit 392db01d40
4 changed files with 8 additions and 4 deletions

View File

@@ -44,7 +44,7 @@ func TestStore(t *testing.T) {
}
}()
svc := micro.NewService(micro.Store(s))
svc := micro.NewService(micro.Stores(s))
if err := svc.Init(); err != nil {
t.Fatalf("service init failed: %v", err)
}