mirror of
https://github.com/minio/minio.git
synced 2025-11-20 18:06:10 -05:00
Move IAM notifications into IAM system functions (#13780)
This commit is contained in:
committed by
GitHub
parent
e49c184595
commit
42d11d9e7d
@@ -78,7 +78,7 @@ func (s *peerRESTServer) DeletePolicyHandler(w http.ResponseWriter, r *http.Requ
|
||||
return
|
||||
}
|
||||
|
||||
if err := globalIAMSys.DeletePolicy(r.Context(), policyName); err != nil {
|
||||
if err := globalIAMSys.DeletePolicy(r.Context(), policyName, false); err != nil {
|
||||
s.writeErrorResponse(w, err)
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user