switch all other services to struct tag based env config

This commit is contained in:
Willy Kloucek
2022-01-03 07:49:24 +01:00
parent 30656c5a32
commit ee57288309
115 changed files with 1023 additions and 1989 deletions
@@ -176,8 +176,8 @@ func init() {
grpc.Address("localhost:9992"),
)
cfg := config.New()
cfg.Service.DataPath = dataPath
cfg := config.DefaultConfig()
cfg.DataPath = dataPath
handler = svc.NewService(cfg, ocislog.NewLogger(ocislog.Color(true), ocislog.Pretty(true)))
err := proto.RegisterBundleServiceHandler(service.Server(), handler)
if err != nil {