mirror of
https://github.com/ceph/ceph
synced 2025-02-08 03:18:12 +00:00
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:
parent
2edf01ffa4
commit
1088d6cd11
@ -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)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user