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

Bug #1499132 reported by Tina Tang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-cinderclient
Triaged
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
Xing Yang (xing-yang)
Changed in python-cinderclient:
assignee: nobody → Xing Yang (xing-yang)
importance: Undecided → Low
status: New → In Progress
Revision history for this message
Sean McGinnis (sean-mcginnis) wrote : Bug Assignee Expired

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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.