console: remove /fields endpoint as we don't use it

This commit is contained in:
Vincent Bernat
2022-05-15 15:22:04 +02:00
parent 04d818e00f
commit eefd7088b9
5 changed files with 0 additions and 118 deletions

View File

@@ -82,7 +82,6 @@ func (c *Component) Start() error {
c.d.HTTP.GinRouter.GET("/api/v0/console/widget/top/:name", c.widgetTopHandlerFunc)
c.d.HTTP.GinRouter.GET("/api/v0/console/widget/graph", c.widgetGraphHandlerFunc)
c.d.HTTP.GinRouter.POST("/api/v0/console/graph", c.graphHandlerFunc)
c.d.HTTP.GinRouter.GET("/api/v0/console/graph/fields", c.graphFieldsHandlerFunc)
c.t.Go(func() error {
ticker := time.NewTicker(10 * time.Second)