'watcher audittemplate list' returns deleted Audit Templates
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
watcher |
Fix Released
|
Undecided
|
Egor Panfilov |
Bug Description
When I call for list of Audit Templates, I get next pretty response
+------
| UUID | Name | Goal | Strategy |
+------
| 2ca45261-
| d1176ce6-
+------
When I want to list Audit Templates filtered by concrete goal
$ watcher audittemplate list --goal dummy
I got next strange result:
+------
| UUID | Name | Goal | Strategy |
+------
| 2ca45261-
| e8f59af2-
| d1176ce6-
+------
If we do
$ watcher audittemplate show at_2
response would be like this
AuditTemplate at_2 could not be found (HTTP 404)
So, we could conclude that when we add filter by goal API also returns deleted Audit Templates.
Changed in watcher: | |
assignee: | nobody → Egor Panfilov (erakli) |
status: | New → In Progress |
description: | updated |
Fix proposed to branch: master /review. openstack. org/559481
Review: https:/