Cinder V3: Support "protected" and "visibility" parameters in "UploadImageOpts#1873
Conversation
|
Build failed.
|
|
@jtopjian ready for review |
|
|
||
| // Visibility defines who can see/use the image. | ||
| // supported since 3.1 microversion | ||
| Visibility images.ImageVisibility `json:"visibility,omitempty"` |
There was a problem hiding this comment.
For posterity:
This field was added with a microversion, but Cinder v3 support was merged using microversion 3.27 as the "base". So I consider anything prior to that to be grandfathered, such as this field.
Otherwise, this field would be a pointer, as recently changed here: #1854
There was a problem hiding this comment.
Are you sure about this? According to the latest code it is still checks for the explicit 3.1 microversion: https://github.com/openstack/cinder/blob/e921b3ae6c462f5f844485f7da7164e194efd00c/cinder/api/contrib/volume_actions.py#L232..L240
There was a problem hiding this comment.
Sorry - to clarify: Cinder v3 support was merged into Gophercloud using microversion 3.27 as the "base".
b40c2de to
8b4647e
Compare
8b4647e to
cd4227f
Compare
|
Build failed.
|
Resolves #1872