diff options
author | Pavel Moravec <pmoravec@redhat.com> | 2017-11-08 19:30:57 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2017-11-15 15:05:05 +0000 |
commit | 404951b99d5e2e46fe0757d27b984eb5ff94cf76 (patch) | |
tree | fff596920a2a9415de8bfda3a13a675a2aa5346a | |
parent | 410733862a1f5ea1f9666d1fa41a7b5d3390e3c6 (diff) | |
download | sos-404951b99d5e2e46fe0757d27b984eb5ff94cf76.tar.gz |
[etcd] fix typo in etcdctl subcmds
subcmds variable set while "subcmd" referred instead.
Resolves: #1141
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
-rw-r--r-- | sos/plugins/etcd.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/plugins/etcd.py b/sos/plugins/etcd.py index 4f072a4c..bd5d10d8 100644 --- a/sos/plugins/etcd.py +++ b/sos/plugins/etcd.py @@ -40,7 +40,7 @@ class etcd(Plugin, RedHatPlugin): 'ls --recursive', ] - self.add_cmd_output(['%s %s' % (self.cmd, sub) for sub in subcmd]) + self.add_cmd_output(['%s %s' % (self.cmd, sub) for sub in subcmds]) urls = [ '/v2/stats/leader', |