@@ -33,13 +33,13 @@ import (
33
33
"github.com/cortexproject/cortex/pkg/storage/bucket"
34
34
cortex_tsdb "github.com/cortexproject/cortex/pkg/storage/tsdb"
35
35
"github.com/cortexproject/cortex/pkg/storage/tsdb/bucketindex"
36
- "github.com/cortexproject/cortex/pkg/tenant"
37
36
"github.com/cortexproject/cortex/pkg/util"
38
37
"github.com/cortexproject/cortex/pkg/util/backoff"
39
38
"github.com/cortexproject/cortex/pkg/util/flagext"
40
39
util_log "github.com/cortexproject/cortex/pkg/util/log"
41
40
"github.com/cortexproject/cortex/pkg/util/services"
42
41
"github.com/cortexproject/cortex/pkg/util/users"
42
+ "github.com/cortexproject/cortex/pkg/util/users/tenant"
43
43
"github.com/cortexproject/cortex/pkg/util/validation"
44
44
)
45
45
@@ -405,7 +405,7 @@ type Compactor struct {
405
405
logger log.Logger
406
406
parentLogger log.Logger
407
407
registerer prometheus.Registerer
408
- allowedTenants * users .AllowedTenants
408
+ allowedTenants * tenant .AllowedTenants
409
409
limits * validation.Overrides
410
410
411
411
// Functions that creates bucket client, grouper, planner and compactor using the context.
@@ -543,7 +543,7 @@ func newCompactor(
543
543
blocksCompactorFactory : blocksCompactorFactory ,
544
544
blockDeletableCheckerFactory : blockDeletableCheckerFactory ,
545
545
compactionLifecycleCallbackFactory : compactionLifecycleCallbackFactory ,
546
- allowedTenants : users .NewAllowedTenants (compactorCfg .EnabledTenants , compactorCfg .DisabledTenants ),
546
+ allowedTenants : tenant .NewAllowedTenants (compactorCfg .EnabledTenants , compactorCfg .DisabledTenants ),
547
547
548
548
CompactorStartDurationSeconds : promauto .With (registerer ).NewGauge (prometheus.GaugeOpts {
549
549
Name : "cortex_compactor_start_duration_seconds" ,
0 commit comments