summaryrefslogtreecommitdiff
path: root/pkg/api/server
diff options
context:
space:
mode:
authorValentin Rothberg <rothberg@redhat.com>2020-03-27 15:47:41 +0100
committerValentin Rothberg <rothberg@redhat.com>2020-03-28 17:32:27 +0100
commitedec8ccf3f1f2e1b1926530b62ab441fc1a24f3f (patch)
treeb0467ada0d5fdc1ab9fc89509e96555f8126ce57 /pkg/api/server
parent9812804f754120fcf14256bf0ed9cd00c36bf9f7 (diff)
downloadpodman-edec8ccf3f1f2e1b1926530b62ab441fc1a24f3f.tar.gz
podman-edec8ccf3f1f2e1b1926530b62ab441fc1a24f3f.tar.bz2
podman-edec8ccf3f1f2e1b1926530b62ab441fc1a24f3f.zip
swagger: top: remove "Docker" from the identifiers
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'pkg/api/server')
-rw-r--r--pkg/api/server/register_containers.go4
-rw-r--r--pkg/api/server/register_pods.go2
2 files changed, 3 insertions, 3 deletions
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: