Use Enum value instead of String Value
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
watcher |
Fix Released
|
Low
|
Atul Pandey |
Bug Description
In the Watcher source code, we have again some code like this:
https:/
self.state = "DELETED"
or
https:/
audit2 = self._create_
id=2,
String value should be replace by Enum related one.
in our previous example, we should have:
self.state = State.DELETED
or
audit2 = self._create_
id=2,
Changed in watcher: | |
assignee: | nobody → Atul Pandey (atul-4you) |
Submitted the review Patch : https:/ /review. openstack. org/#/c/ 390440/