From b963f36e1ed0a39a2872eeeea95cb4ae2b5a8a99 Mon Sep 17 00:00:00 2001 From: Anis Eleuch Date: Wed, 11 Sep 2024 17:09:13 +0100 Subject: [PATCH] fix: Add missing grid handler of clearing upload-id from the cache (#20420) --- cmd/peer-rest-server.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/peer-rest-server.go b/cmd/peer-rest-server.go index bdca69224..96a1d90ad 100644 --- a/cmd/peer-rest-server.go +++ b/cmd/peer-rest-server.go @@ -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,