Merge "Fix missing value types for log message"

This commit is contained in:
Jenkins 2015-09-14 19:22:21 +00:00 committed by Gerrit Code Review
commit 1b9a801d1e
2 changed files with 2 additions and 2 deletions

View File

@ -346,7 +346,7 @@ class GPFSShareDriver(driver.ExecuteMixin, driver.GaneshaMixin,
self._gpfs_execute('chmod', '777', sharepath)
except exception.ProcessExecutionError as e:
msg = (_('Failed to set permissions for share %(sharename)s. '
'Error: %(excmsg).') %
'Error: %(excmsg)s.') %
{'sharename': sharename, 'excmsg': e})
LOG.error(msg)
raise exception.GPFSException(msg)

View File

@ -862,7 +862,7 @@ disks = d7
@staticmethod
def resp_get_nfs_share_by_path_absence(mover_name):
return '%(mover_name) :\n error' % mover_name
return '%s :\n error' % mover_name
@staticmethod
def req_delete_nfs_share(path, mover_name):