fix: Add missing grid handler of clearing upload-id from the cache (#20420)

This commit is contained in:
Anis Eleuch 2024-09-11 17:09:13 +01:00 committed by GitHub
parent cdd7512a2e
commit b963f36e1e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1412,6 +1412,7 @@ func registerPeerRESTHandlers(router *mux.Router, gm *grid.Manager) {
logger.FatalIf(signalServiceRPC.Register(gm, server.SignalServiceHandler), "unable to register handler")
logger.FatalIf(stopRebalanceRPC.Register(gm, server.StopRebalanceHandler), "unable to register handler")
logger.FatalIf(updateMetacacheListingRPC.Register(gm, server.UpdateMetacacheListingHandler), "unable to register handler")
logger.FatalIf(cleanupUploadIDCacheMetaRPC.Register(gm, server.HandlerClearUploadID), "unable to register handler")
logger.FatalIf(gm.RegisterStreamingHandler(grid.HandlerTrace, grid.StreamHandler{
Handle: server.TraceHandler,