commit 72815cfa963e307df9376ec9eeb296dc45b8acbc
Author: Yun Mao <email address hidden>
Date: Fri Aug 24 20:51:25 2012 -0400
Define default mode and device_id_string in Mount
self.mode is not a valid class member in the Mount abstract class,
but used in map_dev(). Although all the subclasses define it so
there is no runtime bug, define it to avoid confusion and
better readability.
Do the same thing for device_id_string as precaution too.
Reviewed: https:/ /review. openstack. org/11966 github. com/openstack/ nova/commit/ 72815cfa963e307 df9376ec9eeb296 dc45b8acbc
Committed: http://
Submitter: Jenkins
Branch: master
commit 72815cfa963e307 df9376ec9eeb296 dc45b8acbc
Author: Yun Mao <email address hidden>
Date: Fri Aug 24 20:51:25 2012 -0400
Define default mode and device_id_string in Mount
self.mode is not a valid class member in the Mount abstract class,
but used in map_dev(). Although all the subclasses define it so
there is no runtime bug, define it to avoid confusion and
better readability.
Do the same thing for device_id_string as precaution too.
Partially fix bug 1037183
Change-Id: Ica32db1ca17c6e d967f2c310b1d54 adeb5f4247c