mirror of
https://github.com/portainer/portainer.git
synced 2025-11-26 14:06:05 +08:00
Fix(stack)/update StackUpdateGit swagger info to POST EE-2019 (#6176)
* fix/EE-2019/Fix-stackgitupdate-swagger Co-authored-by: sunportainer <ericsun@SG1.local>
This commit is contained in:
@@ -54,7 +54,7 @@ func (payload *stackGitUpdatePayload) Validate(r *http.Request) error {
|
||||
// @failure 403 "Permission denied"
|
||||
// @failure 404 "Not found"
|
||||
// @failure 500 "Server error"
|
||||
// @router /stacks/{id}/git [put]
|
||||
// @router /stacks/{id}/git [post]
|
||||
func (handler *Handler) stackUpdateGit(w http.ResponseWriter, r *http.Request) *httperror.HandlerError {
|
||||
stackID, err := request.RetrieveNumericRouteVariableValue(r, "id")
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user