diff options
author | Valentin Rothberg <rothberg@redhat.com> | 2020-03-27 15:47:41 +0100 |
---|---|---|
committer | Valentin Rothberg <rothberg@redhat.com> | 2020-03-28 17:32:27 +0100 |
commit | edec8ccf3f1f2e1b1926530b62ab441fc1a24f3f (patch) | |
tree | b0467ada0d5fdc1ab9fc89509e96555f8126ce57 /pkg/api/handlers/swagger.go | |
parent | 9812804f754120fcf14256bf0ed9cd00c36bf9f7 (diff) | |
download | podman-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/handlers/swagger.go')
-rw-r--r-- | pkg/api/handlers/swagger.go | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/pkg/api/handlers/swagger.go b/pkg/api/handlers/swagger.go index e6e937729..52763a050 100644 --- a/pkg/api/handlers/swagger.go +++ b/pkg/api/handlers/swagger.go @@ -97,14 +97,23 @@ type swagContainerInspectResponse struct { } // List processes in container -// swagger:response DockerTopResponse -type swagDockerTopResponse struct { +// swagger:response DocsContainerTopResponse +type swagContainerTopResponse struct { // in:body Body struct { ContainerTopOKBody } } +// List processes in pod +// swagger:response DocsPodTopResponse +type swagPodTopResponse struct { + // in:body + Body struct { + PodTopOKBody + } +} + // Inspect container // swagger:response LibpodInspectContainerResponse type swagLibpodInspectContainerResponse struct { |