]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
ceph-daemon: fix warning message
authorSage Weil <sage@redhat.com>
Fri, 25 Oct 2019 17:46:52 +0000 (12:46 -0500)
committerSage Weil <sage@redhat.com>
Fri, 25 Oct 2019 17:46:52 +0000 (12:46 -0500)
Signed-off-by: Sage Weil <sage@redhat.com>
src/ceph-daemon

index 34735653472f450e6b61c44f0164416c4387a8ca..3ae8d8feb816c776fa727d4b46cc33be6e742b38 100755 (executable)
@@ -214,7 +214,7 @@ def check_unit(unit_name):
             raise RuntimeError('exited with %d' % code)
         enabled = out.strip() == 'enabled'
     except Exception as e:
-        logger.warning('unable to run systemctl' % e)
+        logger.warning('unable to run systemctl: %s' % e)
         enabled = False
     try:
         out, err, code = call(['systemctl', 'is-active', unit_name], 'systemctl')