summaryrefslogtreecommitdiff
path: root/pkg/api/server
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-03-03 09:17:21 -0500
committerGitHub <noreply@github.com>2021-03-03 09:17:21 -0500
commit259bb5f7232432bce103c64cf1e68539ab7012e2 (patch)
tree694a8736e2db7196f927f7c2d0512d4c9522027d /pkg/api/server
parent5fd8a849491e12de3747a16c238236e23fb44593 (diff)
parent9391bfc520c55ff66c1547561bd3189dd911c8cb (diff)
downloadpodman-259bb5f7232432bce103c64cf1e68539ab7012e2.tar.gz
podman-259bb5f7232432bce103c64cf1e68539ab7012e2.tar.bz2
podman-259bb5f7232432bce103c64cf1e68539ab7012e2.zip
Merge pull request #9583 from ashley-cui/sec
Add version field to secret compat list/inspect api
Diffstat (limited to 'pkg/api/server')
-rw-r--r--pkg/api/server/register_secrets.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/api/server/register_secrets.go b/pkg/api/server/register_secrets.go
index 1c5f5954b..531623845 100644
--- a/pkg/api/server/register_secrets.go
+++ b/pkg/api/server/register_secrets.go
@@ -115,7 +115,7 @@ func (s *APIServer) registerSecretHandlers(r *mux.Router) error {
// parameters:
// responses:
// '200':
- // "$ref": "#/responses/SecretListResponse"
+ // "$ref": "#/responses/SecretListCompatResponse"
// '500':
// "$ref": "#/responses/InternalError"
r.Handle(VersionedPath("/secrets"), s.APIHandler(compat.ListSecrets)).Methods(http.MethodGet)
@@ -158,7 +158,7 @@ func (s *APIServer) registerSecretHandlers(r *mux.Router) error {
// - application/json
// responses:
// '200':
- // "$ref": "#/responses/SecretInspectResponse"
+ // "$ref": "#/responses/SecretInspectCompatResponse"
// '404':
// "$ref": "#/responses/NoSuchSecret"
// '500':