Merge "Fix audit creation with no name and no goal or audit_template" into stable/2025.1

This commit is contained in:
Zuul
2025-07-21 19:28:43 +00:00
committed by Gerrit Code Review
3 changed files with 20 additions and 9 deletions

View File

@@ -0,0 +1,10 @@
---
fixes:
- |
Previously, when users attempted to create a new audit without providing
a name and a goal or an audit template, the API returned error 500 and an
incorrect error message was displayed.
Now, Watcher displays a helpful message and returns HTTP error 400.
For more info see: https://bugs.launchpad.net/watcher/+bug/2110947