aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Moravec <pmoravec@redhat.com>2019-11-13 14:42:33 +0100
committerBryn M. Reeves <bmr@redhat.com>2019-11-13 15:49:26 +0000
commit4dca9302270fbda6700986b9da2bde7fde0f272f (patch)
treea888d65ff8deee134789f4932866f0d8661f83ad
parentb103c4a9e0c93f18576205eee7b8e0989aaf559d (diff)
downloadsos-4dca9302270fbda6700986b9da2bde7fde0f272f.tar.gz
[kubernetes] Set plugin_name
Without setting plugin_name in parent class, "sosreport --list-plugins" prints plugin name based on the child class name (redhatkubernetes, ubuntukubernetes). Trying to refer that plugin name fails. Setting plugin_name to "kubernetes" in the parent Kubernetes class prevents this confusion. Resolves: #1858 Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
-rw-r--r--sos/plugins/kubernetes.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sos/plugins/kubernetes.py b/sos/plugins/kubernetes.py
index 0e9a82af..5bd73384 100644
--- a/sos/plugins/kubernetes.py
+++ b/sos/plugins/kubernetes.py
@@ -19,6 +19,7 @@ class Kubernetes(Plugin):
"""Kubernetes plugin
"""
+ plugin_name = "kubernetes"
profiles = ('container',)
option_list = [