Skip to content

Commit 1035fa1

Browse files
SungJin1212alexqyle
authored andcommitted
Remove TransferChunks gRPC method (cortexproject#6543)
Signed-off-by: SungJin1212 <[email protected]> Signed-off-by: Alex Le <[email protected]>
1 parent a9d69a6 commit 1035fa1

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pkg/cortex/cortex.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -344,13 +344,10 @@ func New(cfg Config) (*Cortex, error) {
344344
tenant.WithDefaultResolver(tenant.NewMultiResolver())
345345
}
346346

347-
// Don't check auth header on TransferChunks, as we weren't originally
348-
// sending it and this could cause transfers to fail on update.
349347
cfg.API.HTTPAuthMiddleware = fakeauth.SetupAuthMiddleware(&cfg.Server, cfg.AuthEnabled,
350348
// Also don't check auth for these gRPC methods, since single call is used for multiple users (or no user like health check).
351349
[]string{
352350
"/grpc.health.v1.Health/Check",
353-
"/cortex.Ingester/TransferChunks",
354351
"/frontend.Frontend/Process",
355352
"/frontend.Frontend/NotifyClientShutdown",
356353
"/schedulerpb.SchedulerForFrontend/FrontendLoop",

0 commit comments

Comments
 (0)