/v2/{tenant_id}/volumes/{volume_id}/metadata has wrong parameter description
Bug #1646889 reported by
Matt Riedemann
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Undecided
|
wangxiyuan |
Bug Description
Looking at these docs:
This is for POSTing (creating) volume metadata, but the metadata parameter description is for snapshot metadata, and is probably re-used from the snapshot create description, i.e. 'one or more, if any' doesn't make sense here really. Unless 'if any' means you can POST {} for volume metadata and overwrite any existing vol metadata, would have to dig into the code to see how it works.
But this is wrong:
"metadata body object One or more metadata key and value pairs for the snapshot, if any."
tags: | added: docs low-hanging-fruit |
Changed in cinder: | |
assignee: | nobody → wangxiyuan (wangxiyuan) |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/410098
Review: https:/