unnecessary name and description in the search_options list.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
Fix Released
|
Undecided
|
junboli |
Bug Description
There are unnecessary name and description in the snapshots_
let's use list snapshot for example, part of the code is as bellow:
if 'name' in search_opts:
search_
if 'description' in search_opts:
# like filter
for key, db_key in (('name~', 'display_name~'),
if key in search_opts:
search_
common.
search_opts has converted name to display_name and description to display_
Changed in manila: | |
assignee: | nobody → junboli (junboli) |
description: | updated |
Changed in manila: | |
status: | New → In Progress |
Reviewed: https:/ /review. openstack. org/498419 /git.openstack. org/cgit/ openstack/ manila/ commit/ ?id=4263bc20e22 49af076cf34137b 98fdfa6542b25e
Committed: https:/
Submitter: Zuul
Branch: master
commit 4263bc20e2249af 076cf34137b98fd fa6542b25e
Author: junboli <email address hidden>
Date: Mon Aug 28 18:45:14 2017 +0800
Remove name and description from the search_options list.
Since the "name", "name~" and "description", "description~" are both description" , description~ " beforehand,So I think there is no need to keep
converted to "display_name", "display_name~" and "display_
"display_
the param "name" and "description" in the share search option list and
snapshot search option list.
Change-Id: If4dc3c6b978193 f2f4be68a46b9db e4e2b79fa9a
Closes-bug: #1715290