Browse Source
Merge pull request #2939 from guo-sj/add_miss_return
Add missing return
pull/2944/head
Chris Lu
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
weed/iamapi/iamapi_management_handlers.go
|
|
@ -455,6 +455,7 @@ func (iama *IamApiServer) DoActions(w http.ResponseWriter, r *http.Request) { |
|
|
|
case "DeleteUserPolicy": |
|
|
|
if response, err = iama.DeleteUserPolicy(s3cfg, values); err != nil { |
|
|
|
writeIamErrorResponse(w, r, err, "user", values.Get("UserName"), nil) |
|
|
|
return |
|
|
|
} |
|
|
|
default: |
|
|
|
errNotImplemented := s3err.GetAPIError(s3err.ErrNotImplemented) |
|
|
|