Skip to content

Commit e2993fc

Browse files
authored
Change input endpoint from '/v1/log' to '/v1/logs'
Signed-off-by: Yorjander Hernandez Vergara <99102374+Kbayero@users.noreply.github.com>
1 parent 1e95745 commit e2993fc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/inputs/handlers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ func startHTTPServer(middlewares *Middlewares, cert string, key string) {
2727
gin.SetMode(gin.ReleaseMode)
2828

2929
router := gin.Default()
30-
router.POST("/v1/log", middlewares.HttpAuth(), Log)
30+
router.POST("/v1/logs", middlewares.HttpAuth(), Log)
3131
router.POST("/v1/github-webhook", middlewares.GitHubAuth(), GitHub)
3232
router.GET("/v1/ping", Ping)
3333
router.GET("/v1/health", func(c *gin.Context) { c.Status(http.StatusOK) })

0 commit comments

Comments
 (0)