ceph-disk: fix log syntax error

File "/usr/sbin/ceph-disk", line 303, in command_check_call
    LOG.info('Running command: %s' % ' '.join(arguments))
TypeError: sequence item 2: expected string, NoneType found

Backport: firefly
Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
Sage Weil 2014-08-12 13:53:16 -07:00
parent 2edf01ffa4
commit 1088d6cd11

View File

@ -300,7 +300,7 @@ def command_check_call(arguments):
otherwise.
"""
arguments = _get_command_executable(arguments)
LOG.info('Running command: %s' % ' '.join(arguments))
LOG.info('Running command: %s', ' '.join(arguments))
return subprocess.check_call(arguments)