Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Enabling name filter on image metadata api #151

Merged
merged 1 commit into from Aug 14, 2014
Merged

Enabling name filter on image metadata api #151

merged 1 commit into from Aug 14, 2014

Conversation

zhiyanliu
Copy link
Contributor

To enable filter function for image v1 and v2 metadata api, which fixed
issue "Multiple image matches found for '<IMAGE_NAME>', use an ID to be
more specific." caused by that jumpgate returns all images without name
based filter when glanceclient request a image metadata query [0].

[0]
https://github.com/openstack/python-glanceclient/blob/master/glanceclient/common/utils.py#L159

Signed-off-by: Zhi Yan Liu zhiyanl@cn.ibm.com

To enable filter function for image v1 and v2 metadata api, which fixed
issue "Multiple image matches found for '<IMAGE_NAME>', use an ID to be
more specific." caused by that jumpgate returns all images without name
based filter when glanceclient request a image metadata query [0].

[0]
https://github.com/openstack/python-glanceclient/blob/master/glanceclient/common/utils.py#L159

Signed-off-by: Zhi Yan Liu <zhiyanl@cn.ibm.com>
@jimlindeman
Copy link
Contributor

+1
Looks fine, good unit test.

jimlindeman added a commit that referenced this pull request Aug 14, 2014
…ata-api

Enabling name filter on image metadata api
@jimlindeman jimlindeman merged commit 601caac into softlayer:master Aug 14, 2014
@zhiyanliu zhiyanliu deleted the enable-name-filter-image-metadata-api branch August 14, 2014 06:54
@zhiyanliu
Copy link
Contributor Author

Thanks for review and merging @jimlindeman.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants