Fix missing print format in log messages
This is to fix: 1. print format is missing in "%(volume)" 2. ws is missing between words in log messages. Change-Id: Iff2712a8157895d5a67bccee596a80a8b255fc40
This commit is contained in:
@@ -967,7 +967,7 @@ class MacroSANBaseDriver(driver.VolumeDriver):
|
|||||||
owner = self.client.get_lun_sp(src_name)
|
owner = self.client.get_lun_sp(src_name)
|
||||||
pool = host['capabilities'].get('pool_name', self.pool)
|
pool = host['capabilities'].get('pool_name', self.pool)
|
||||||
|
|
||||||
LOG.info('Migrating volume: %(volume), '
|
LOG.info('Migrating volume: %(volume)s, '
|
||||||
'host: %(host)s, '
|
'host: %(host)s, '
|
||||||
'backend: %(volume_backend_name)s',
|
'backend: %(volume_backend_name)s',
|
||||||
{'volume': src_name,
|
{'volume': src_name,
|
||||||
|
|||||||
Reference in New Issue
Block a user