From edec8ccf3f1f2e1b1926530b62ab441fc1a24f3f Mon Sep 17 00:00:00 2001 From: Valentin Rothberg Date: Fri, 27 Mar 2020 15:47:41 +0100 Subject: swagger: top: remove "Docker" from the identifiers Signed-off-by: Valentin Rothberg --- pkg/api/server/register_containers.go | 4 ++-- pkg/api/server/register_pods.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'pkg/api/server') diff --git a/pkg/api/server/register_containers.go b/pkg/api/server/register_containers.go index 2656d1d89..08834ff01 100644 --- a/pkg/api/server/register_containers.go +++ b/pkg/api/server/register_containers.go @@ -429,7 +429,7 @@ func (s *APIServer) registerContainersHandlers(r *mux.Router) error { // - application/json // responses: // 200: - // $ref: "#/responses/DockerTopResponse" + // $ref: "#/responses/DocsContainerTopResponse" // 404: // $ref: "#/responses/NoSuchContainer" // 500: @@ -1041,7 +1041,7 @@ func (s *APIServer) registerContainersHandlers(r *mux.Router) error { // - application/json // responses: // 200: - // $ref: "#/responses/DockerTopResponse" + // $ref: "#/responses/DocsContainerTopResponse" // 404: // $ref: "#/responses/NoSuchContainer" // 500: diff --git a/pkg/api/server/register_pods.go b/pkg/api/server/register_pods.go index 5ad9b5bc1..77415793b 100644 --- a/pkg/api/server/register_pods.go +++ b/pkg/api/server/register_pods.go @@ -288,7 +288,7 @@ func (s *APIServer) registerPodsHandlers(r *mux.Router) error { // description: arguments to pass to ps such as aux. Requires ps(1) to be installed in the container if no ps(1) compatible AIX descriptors are used. // responses: // 200: - // $ref: "#/responses/DockerTopResponse" + // $ref: "#/responses/DocsPodTopResponse" // 404: // $ref: "#/responses/NoSuchContainer" // 500: -- cgit v1.2.3-54-g00ecf