Skip to content

Commit c2f15f4

Browse files
committed
ls -> list-directory
1 parent b2959db commit c2f15f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

agent/api.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ func (a *agent) apiHandler() http.Handler {
4141
r.Get("/api/v0/containers", ch.ServeHTTP)
4242
r.Get("/api/v0/listening-ports", lp.handler)
4343
r.Get("/api/v0/netcheck", a.HandleNetcheck)
44-
r.Post("/api/v0/ls", a.HandleLS)
44+
r.Post("/api/v0/list-directory", a.HandleLS)
4545
r.Get("/debug/logs", a.HandleHTTPDebugLogs)
4646
r.Get("/debug/magicsock", a.HandleHTTPDebugMagicsock)
4747
r.Get("/debug/magicsock/debug-logging/{state}", a.HandleHTTPMagicsockDebugLoggingState)

0 commit comments

Comments
 (0)