@@ -34,13 +34,13 @@ import (
3434 "github.com/cortexproject/cortex/pkg/storage/bucket"
3535 cortex_tsdb "github.com/cortexproject/cortex/pkg/storage/tsdb"
3636 "github.com/cortexproject/cortex/pkg/storage/tsdb/bucketindex"
37- "github.com/cortexproject/cortex/pkg/tenant"
3837 "github.com/cortexproject/cortex/pkg/util"
3938 "github.com/cortexproject/cortex/pkg/util/backoff"
4039 "github.com/cortexproject/cortex/pkg/util/flagext"
4140 util_log "github.com/cortexproject/cortex/pkg/util/log"
4241 "github.com/cortexproject/cortex/pkg/util/services"
4342 "github.com/cortexproject/cortex/pkg/util/users"
43+ "github.com/cortexproject/cortex/pkg/util/users/tenant"
4444 "github.com/cortexproject/cortex/pkg/util/validation"
4545)
4646
@@ -404,7 +404,7 @@ type Compactor struct {
404404 logger log.Logger
405405 parentLogger log.Logger
406406 registerer prometheus.Registerer
407- allowedTenants * users .AllowedTenants
407+ allowedTenants * tenant .AllowedTenants
408408 limits * validation.Overrides
409409
410410 // Functions that creates bucket client, grouper, planner and compactor using the context.
@@ -542,7 +542,7 @@ func newCompactor(
542542 blocksCompactorFactory : blocksCompactorFactory ,
543543 blockDeletableCheckerFactory : blockDeletableCheckerFactory ,
544544 compactionLifecycleCallbackFactory : compactionLifecycleCallbackFactory ,
545- allowedTenants : users .NewAllowedTenants (compactorCfg .EnabledTenants , compactorCfg .DisabledTenants ),
545+ allowedTenants : tenant .NewAllowedTenants (compactorCfg .EnabledTenants , compactorCfg .DisabledTenants ),
546546
547547 CompactorStartDurationSeconds : promauto .With (registerer ).NewGauge (prometheus.GaugeOpts {
548548 Name : "cortex_compactor_start_duration_seconds" ,
0 commit comments