Refactor UpdateRule method to improve WAF service rule updates
- Modify the UpdateRule method to assign the RuleCategoryStatus directly to the wafService before updating the database. - Enhance error handling for the database update operation to ensure clarity in failure cases.
Showing
Please register or sign in to comment