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