commit 4e7624ed65626bd34fa354eb50bc7228f0dd0e26
Author: Mehdi Abaakouk <email address hidden>
Date: Thu Mar 24 11:23:17 2016 +0100
image: don't use is_public with glance V2 API
Glance v2 API has replaced "is_public" argument with "visibility", and,
unlike "is_public" the default value of "visibility" returns all images,
which is what we want to get when no value has been provided.
This patch makes sure that we only send a default value for "is_public"
when it's not defined when working with API v1.
Reviewed: https:/ /review. openstack. org/296998 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=4e7624ed656 26bd34fa354eb50 bc7228f0dd0e26
Committed: https:/
Submitter: Jenkins
Branch: master
commit 4e7624ed65626bd 34fa354eb50bc72 28f0dd0e26
Author: Mehdi Abaakouk <email address hidden>
Date: Thu Mar 24 11:23:17 2016 +0100
image: don't use is_public with glance V2 API
Glance v2 API has replaced "is_public" argument with "visibility", and,
unlike "is_public" the default value of "visibility" returns all images,
which is what we want to get when no value has been provided.
This patch makes sure that we only send a default value for "is_public"
when it's not defined when working with API v1.
Closes-bug: #1201266 5895012429679e0 13b859dbb03
Co-Authored-By: Gorka Eguileor <email address hidden>
Change-Id: I9ca13567744dbe