diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2019-10-09 12:16:25 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2019-10-09 12:16:25 +0100 |
commit | f1970fc91aee72343a2114398094b43c8700b640 (patch) | |
tree | 6eaa4fe27455f87a68431fee641a3f37271324b4 | |
parent | 823dbabde82ee941c421482a71be572984607ad4 (diff) | |
download | sos-f1970fc91aee72343a2114398094b43c8700b640.tar.gz |
[corosync] fix logging call string formatting
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r-- | sos/plugins/corosync.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/plugins/corosync.py b/sos/plugins/corosync.py index 174e8936..1d19c90d 100644 --- a/sos/plugins/corosync.py +++ b/sos/plugins/corosync.py @@ -52,7 +52,7 @@ class Corosync(Plugin): if re.match(pattern, line): self.add_copy_spec(re.search(pattern, line).group(2)) except IOError as e: - self._log_warn("could not read from %s: %s", corosync_conf, e) + self._log_warn("could not read from %s: %s" % (corosync_conf, e)) def postproc(self): self.do_cmd_output_sub( |