Move IAM notifications into IAM system functions (#13780)

This commit is contained in:
Aditya Manthramurthy authored and GitHub committed 2021-11-29 14:38:57 -08:00
1 parent e49c184595
commit 42d11d9e7d
11 files changed
+155 -225

No files matched your search

+1 -1
View File
@@ -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
}