Skip to content

Commit 0c44de8

Browse files
committed
clarify todo
1 parent e021c8d commit 0c44de8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

agent/agentcontainers/api.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,8 @@ func (api *API) Routes() http.Handler {
404404
r.Use(ensureInitialUpdateDoneMW)
405405

406406
r.Get("/", api.handleList)
407-
// TODO(mafredri): Simplify this route.
407+
// TODO(mafredri): Simplify this route as the previous /devcontainers
408+
// /-route was dropped. We can drop the /devcontainers prefix here too.
408409
r.Route("/devcontainers", func(r chi.Router) {
409410
r.Post("/container/{container}/recreate", api.handleDevcontainerRecreate)
410411
})

0 commit comments

Comments
 (0)