metadata zero value will skip valid check
Bug #1729200 reported by
yangzhenyu
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zaqar |
Fix Released
|
Undecided
|
yangzhenyu |
Bug Description
At present, the metadata attributes of the queue are validated. Metadata must be within a valid range, otherwise an exception will be raised. For example, the default metadata '_default_
Changed in zaqar: | |
assignee: | nobody → yangzhenyu (cdyangzhenyu) |
Changed in zaqar: | |
status: | New → In Progress |
Changed in zaqar: | |
milestone: | none → queens-2 |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/516621 /git.openstack. org/cgit/ openstack/ zaqar/commit/ ?id=b135653fcf3 52a90b49c1a50da 5ad5ec44aa38b5
Committed: https:/
Submitter: Zuul
Branch: master
commit b135653fcf352a9 0b49c1a50da5ad5 ec44aa38b5
Author: yangzhenyu <email address hidden>
Date: Tue Oct 31 19:21:22 2017 +0800
Metadata zero value will skip valid check
At present, the metadata attributes of the queue are validated. Metadata message_ ttl' must be greater than
must be within a valid range, otherwise an exception will be raised. For
example, the default metadata '_default_
60s, but this bug will cause I can enter 0 and can also succeed. This is
clearly contrary to the original logic of implementation.
Closes-Bug: #1729200 0c871e12e155771 07457abc61c
Change-Id: Id72771eaa4139e