@@ -33,13 +33,13 @@ import (
3333 "github.com/cortexproject/cortex/pkg/storage/bucket"
3434 cortex_tsdb "github.com/cortexproject/cortex/pkg/storage/tsdb"
3535 "github.com/cortexproject/cortex/pkg/storage/tsdb/bucketindex"
36- "github.com/cortexproject/cortex/pkg/tenant"
3736 "github.com/cortexproject/cortex/pkg/util"
3837 "github.com/cortexproject/cortex/pkg/util/backoff"
3938 "github.com/cortexproject/cortex/pkg/util/flagext"
4039 util_log "github.com/cortexproject/cortex/pkg/util/log"
4140 "github.com/cortexproject/cortex/pkg/util/services"
4241 "github.com/cortexproject/cortex/pkg/util/users"
42+ "github.com/cortexproject/cortex/pkg/util/users/tenant"
4343 "github.com/cortexproject/cortex/pkg/util/validation"
4444)
4545
@@ -405,7 +405,7 @@ type Compactor struct {
405405 logger log.Logger
406406 parentLogger log.Logger
407407 registerer prometheus.Registerer
408- allowedTenants * users .AllowedTenants
408+ allowedTenants * tenant .AllowedTenants
409409 limits * validation.Overrides
410410
411411 // Functions that creates bucket client, grouper, planner and compactor using the context.
@@ -543,7 +543,7 @@ func newCompactor(
543543 blocksCompactorFactory : blocksCompactorFactory ,
544544 blockDeletableCheckerFactory : blockDeletableCheckerFactory ,
545545 compactionLifecycleCallbackFactory : compactionLifecycleCallbackFactory ,
546- allowedTenants : users .NewAllowedTenants (compactorCfg .EnabledTenants , compactorCfg .DisabledTenants ),
546+ allowedTenants : tenant .NewAllowedTenants (compactorCfg .EnabledTenants , compactorCfg .DisabledTenants ),
547547
548548 CompactorStartDurationSeconds : promauto .With (registerer ).NewGauge (prometheus.GaugeOpts {
549549 Name : "cortex_compactor_start_duration_seconds" ,
0 commit comments