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
@@ -207,8 +207,9 @@ type StorageUsersSutureService struct {
}
// NewStorageUsersSutureService creates a new storage.StorageUsersSutureService
func NewStorageUsers(ctx context.Context, cfg *config.Config) StorageUsersSutureService {
func NewStorageUsers(ctx context.Context) StorageUsersSutureService {
sctx, cancel := context.WithCancel(ctx)
cfg := config.New()
cfg.Context = sctx
return StorageUsersSutureService{
ctx: sctx,