mirror of
https://github.com/rancher/norman.git
synced 2025-09-13 05:42:37 +00:00
use patch for update, fix namespace actions
This commit is contained in:
committed by
Darren Shepherd
parent
6e00d528c2
commit
026837668c
@@ -17,7 +17,7 @@ const (
|
||||
)
|
||||
|
||||
func ValidateAction(request *types.APIContext) (*types.Action, error) {
|
||||
if request.Action == "" || request.Method != http.MethodPost {
|
||||
if request.Action == "" || request.Link != "" || request.Method != http.MethodPost {
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user