patch config parsing

This commit is contained in:
A.Unger
2021-03-05 14:08:40 +01:00
parent bb2431839d
commit 277ccc8b82
12 changed files with 38 additions and 27 deletions
+2 -1
View File
@@ -336,8 +336,9 @@ type FrontendSutureService struct {
}
// NewFrontendSutureService creates a new frontend.FrontendSutureService
func NewFrontend(ctx context.Context, cfg *config.Config) FrontendSutureService {
func NewFrontend(ctx context.Context) FrontendSutureService {
sctx, cancel := context.WithCancel(ctx)
cfg := config.New()
cfg.Context = sctx
return FrontendSutureService{
ctx: sctx,