Merge "Remove spaces around keyword argument"
This commit is contained in:
commit
d8d7c9914a
@ -77,10 +77,10 @@ class LiveMigrationTask(base.TaskBase):
|
|||||||
if self.instance.power_state not in (power_state.RUNNING,
|
if self.instance.power_state not in (power_state.RUNNING,
|
||||||
power_state.PAUSED):
|
power_state.PAUSED):
|
||||||
raise exception.InstanceInvalidState(
|
raise exception.InstanceInvalidState(
|
||||||
instance_uuid = self.instance.uuid,
|
instance_uuid=self.instance.uuid,
|
||||||
attr = 'power_state',
|
attr='power_state',
|
||||||
state = self.instance.power_state,
|
state=self.instance.power_state,
|
||||||
method = 'live migrate')
|
method='live migrate')
|
||||||
|
|
||||||
def _check_host_is_up(self, host):
|
def _check_host_is_up(self, host):
|
||||||
try:
|
try:
|
||||||
|
@ -40,7 +40,7 @@ ALL_MKS_OPTS = mks_opts
|
|||||||
|
|
||||||
def register_opts(conf):
|
def register_opts(conf):
|
||||||
conf.register_group(mks_group)
|
conf.register_group(mks_group)
|
||||||
conf.register_opts(ALL_MKS_OPTS, group = mks_group)
|
conf.register_opts(ALL_MKS_OPTS, group=mks_group)
|
||||||
|
|
||||||
|
|
||||||
def list_opts():
|
def list_opts():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user