mirror of
https://github.com/containers/podman.git
synced 2025-11-29 09:37:38 +08:00
fix(api/compat): typo in the remove secret handle
Fixes https://github.com/containers/podman/issues/27548 Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com>
This commit is contained in:
@@ -236,7 +236,7 @@ func (s *APIServer) registerSecretHandlers(r *mux.Router) error {
|
||||
// '500':
|
||||
// "$ref": "#/responses/internalError"
|
||||
r.Handle(VersionedPath("/secrets/{name}"), s.APIHandler(compat.RemoveSecret)).Methods(http.MethodDelete)
|
||||
r.Handle("/secret/{name}", s.APIHandler(compat.RemoveSecret)).Methods(http.MethodDelete)
|
||||
r.Handle("/secrets/{name}", s.APIHandler(compat.RemoveSecret)).Methods(http.MethodDelete)
|
||||
|
||||
r.Handle(VersionedPath("/secrets/{name}/update"), s.APIHandler(compat.UpdateSecret)).Methods(http.MethodPost)
|
||||
r.Handle("/secrets/{name}/update", s.APIHandler(compat.UpdateSecret)).Methods(http.MethodPost)
|
||||
|
||||
Reference in New Issue
Block a user