mirror of
https://github.com/grafana/grafana.git
synced 2025-07-30 04:12:09 +08:00
EntityStore: Rename ObjectStore to EntityStore (part 2) (#59616)
This commit is contained in:
@ -285,11 +285,11 @@ func (hs *HTTPServer) registerRoutes() {
|
||||
if hs.Features.IsEnabled(featuremgmt.FlagStorage) {
|
||||
// Will eventually be replaced with the 'object' route
|
||||
apiRoute.Group("/storage", hs.StorageService.RegisterHTTPRoutes)
|
||||
}
|
||||
|
||||
// Allow HTTP access to the object storage feature (dev only for now)
|
||||
if hs.Features.IsEnabled(featuremgmt.FlagGrpcServer) {
|
||||
apiRoute.Group("/object", hs.httpEntityStore.RegisterHTTPRoutes)
|
||||
}
|
||||
// Allow HTTP access to the entity storage feature (dev only for now)
|
||||
if hs.Features.IsEnabled(featuremgmt.FlagEntityStore) {
|
||||
apiRoute.Group("/entity", hs.httpEntityStore.RegisterHTTPRoutes)
|
||||
}
|
||||
|
||||
if hs.Features.IsEnabled(featuremgmt.FlagPanelTitleSearch) {
|
||||
|
Reference in New Issue
Block a user