From 1088d6cd11b476cd67ed30e07edd363c4057a003 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 12 Aug 2014 13:53:16 -0700 Subject: [PATCH] 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 --- src/ceph-disk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ceph-disk b/src/ceph-disk index 689c2bc13184f..6c3775139dac4 100755 --- a/src/ceph-disk +++ b/src/ceph-disk @@ -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) -- 2.39.5