consistencygroups.create_from_src doesn't return a ConsistencyGroup object as the API doc said

Bug #1499132 reported by Tina Tang on 2015-09-24
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-cinderclient
Low
Unassigned

Bug Description

The API doc of ConsistencyGroups.create_from_src said the return type is Consistencygroup. However, in fact, a dictionary was returned.

 https://github.com/openstack/python-cinderclient/blob/master/cinderclient/v2/consistencygroups.py#L70

The ConsistencyGroups.create is returning a Consistencygroup which represent the new created ConsistencyGroup. Seems create_from_src shall return the similar object to keep consistent.

Tags: cg Edit Tag help
Xing Yang (xing-yang) on 2015-09-24
Changed in python-cinderclient:
assignee: nobody → Xing Yang (xing-yang)
importance: Undecided → Low
status: New → In Progress

Unassigning due to no activity for > 6 months.

Changed in python-cinderclient:
assignee: Xing Yang (xing-yang) → nobody
status: In Progress → Triaged
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers