commit 3c66b40dbd23e3f792a86da5a15c993c52c9b377
Author: Takashi NATSUME <email address hidden>
Date: Sat Feb 23 00:56:23 2019 +0900
Override the 'get' method in DriverBlockDevice class
The following methods are overridden in DriverBlockDevice class.
* __getattr__
* __getitem__
The 'get' method is not overridden.
The value cannot be got by the 'get' method
though the value can be got by '__getattr__' (e.g. bdm.volumd_id)
or '__getitem__' (e.g. bdm['volume_id']) method.
So override the 'get' method to fix the issue.
Reviewed: https:/ /review. openstack. org/638821 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=3c66b40dbd2 3e3f792a86da5a1 5c993c52c9b377
Committed: https:/
Submitter: Zuul
Branch: master
commit 3c66b40dbd23e3f 792a86da5a15c99 3c52c9b377
Author: Takashi NATSUME <email address hidden>
Date: Sat Feb 23 00:56:23 2019 +0900
Override the 'get' method in DriverBlockDevice class
The following methods are overridden in DriverBlockDevice class.
* __getattr__
* __getitem__
The 'get' method is not overridden.
The value cannot be got by the 'get' method
though the value can be got by '__getattr__' (e.g. bdm.volumd_id)
or '__getitem__' (e.g. bdm['volume_id']) method.
So override the 'get' method to fix the issue.
Change-Id: Ic665fc19568311 10937d98553e526 cb909e49997
Closes-Bug: #1816938