to_oneview_dict() must be called with ServerProfile instance as first argument (got nothing instead)
Bug #1541945 reported by
Thiago Paiva Brito
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Python client for HP OneView |
Fix Released
|
Critical
|
Unassigned |
Bug Description
The call to the method to_oneview_dict() is not done with a instance of ServerProfile on the "self" argument. This is making set_boot_device to fail in every call.
Changed in python-oneviewclient: | |
importance: | Undecided → Critical |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/276359 /git.openstack. org/cgit/ openstack/ python- oneviewclient/ commit/ ?id=9c64ca2b456 d67462ad1a78a34 0c5608e4ab29db
Committed: https:/
Submitter: Jenkins
Branch: master
commit 9c64ca2b456d674 62ad1a78a340c56 08e4ab29db
Author: Thiago Paiva <email address hidden>
Date: Thu Feb 4 14:13:58 2016 -0300
Remove custom method from_json of ServerProfile
The implementation of the method from_json on the ServerProfile class was doing
unecessary things and returning a class instead of an instance. This patch
removes this method in favor of the one implemented in the parent class.
Change-Id: I172a713acf0245 49d30b5cdc74c69 b6e4deab901
Closes-Bug: 1541945