diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2016-06-01 19:15:52 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2016-06-02 16:11:40 +0100 |
commit | 5df6fa7dab865ea238304724e762a5b8d3fb3362 (patch) | |
tree | e4e7dcd276779c37474d20a307a825b82e578f24 | |
parent | 9347ebe83d0996a3354d247d12125e053a461ed2 (diff) | |
download | sos-5df6fa7dab865ea238304724e762a5b8d3fb3362.tar.gz |
[docker] convert to add_journal interface
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r-- | sos/plugins/docker.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/plugins/docker.py b/sos/plugins/docker.py index aab558d6..8c87bfa8 100644 --- a/sos/plugins/docker.py +++ b/sos/plugins/docker.py @@ -34,11 +34,11 @@ class Docker(Plugin): ]) self.add_cmd_output([ - "journalctl -u docker", "{0} info".format(self.docker_bin), "{0} ps".format(self.docker_bin), "{0} images".format(self.docker_bin) ]) + self.add_journal(units="docker") ps_cmd = "{0} ps".format(self.docker_bin) if self.get_option('all'): |