python-karborclient: get() method on a checkpoint object fails
Bug #1643315 reported by
Yuval Brik
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Karbor |
Fix Released
|
Medium
|
chenying |
Bug Description
Each resource (plan, provider, checkpoint, etc.) in python-karborclient inherits from Resource, which has a `.get()` method to update the resource attributes.
The `.get()` method on a Checkpoint object fails:
File "karborclient/
new = self.manager.
TypeError: get() takes at least 3 arguments (2 given)
This is caused because Resource `.get()` sends the get request to the manager with the resource (in this case, a Checkpoint) id, and without the provider id required for the checkpoint get.
Issue easily reproduced when trying to call `.get()` on a Checkpoint object created with python-karborclient
Changed in karbor: | |
status: | New → Triaged |
importance: | Undecided → Medium |
milestone: | none → ocata |
Changed in karbor: | |
assignee: | nobody → chenying (ying-chen) |
To post a comment you must log in.
Merged in https:/ /review. openstack. org/#/c/ 413970/