From 1641f4fc0d7c1d2f3e64e37d51fb50ededd8ddbb Mon Sep 17 00:00:00 2001 From: Matthew Heon Date: Thu, 14 May 2020 16:58:42 -0400 Subject: Update API documentation for Inspect Most importantly, note the pruning behavior of compat Inspect. Less importantly, note that the Tty parameter to Start is only ignored, as opposed to being not supported. Signed-off-by: Matthew Heon --- pkg/api/server/register_exec.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pkg/api') diff --git a/pkg/api/server/register_exec.go b/pkg/api/server/register_exec.go index f1f1cc7e9..1571de90b 100644 --- a/pkg/api/server/register_exec.go +++ b/pkg/api/server/register_exec.go @@ -100,7 +100,7 @@ func (s *APIServer) registerExecHandlers(r *mux.Router) error { // description: Detach from the command. Not presently supported. // Tty: // type: boolean - // description: Allocate a pseudo-TTY. Not presently supported. + // description: Allocate a pseudo-TTY. Presently ignored. // produces: // - application/json // responses: @@ -153,7 +153,7 @@ func (s *APIServer) registerExecHandlers(r *mux.Router) error { // tags: // - exec (compat) // summary: Inspect an exec instance - // description: Return low-level information about an exec instance. + // description: Return low-level information about an exec instance. Stale (stopped) exec sessions will be auto-removed after inspect runs. // parameters: // - in: path // name: id @@ -267,7 +267,7 @@ func (s *APIServer) registerExecHandlers(r *mux.Router) error { // description: Detach from the command. Not presently supported. // Tty: // type: boolean - // description: Allocate a pseudo-TTY. Not presently supported. + // description: Allocate a pseudo-TTY. Presently ignored. // produces: // - application/json // responses: -- cgit v1.2.3-54-g00ecf