Skip to content

Commit

Permalink
Fix code comment in api/build.go (#435)
Browse files Browse the repository at this point in the history
(My guess is a copy/paste gone awry)
  • Loading branch information
lewiscowper authored and technosophos committed Apr 24, 2018
1 parent 8d6c2dc commit 3631bd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/api/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func (api Build) Jobs(c *gin.Context) {
c.JSON(http.StatusOK, jobs)
}

// Logs creates a new gin handler for the GET /job/:id/logs endpoint
// Logs creates a new gin handler for the GET /build/:id/logs endpoint
func (api Build) Logs(c *gin.Context) {
id := c.Params.ByName("id")
build, err := api.store.GetBuild(id)
Expand Down

0 comments on commit 3631bd8

Please sign in to comment.