From 4dca9302270fbda6700986b9da2bde7fde0f272f Mon Sep 17 00:00:00 2001 From: Pavel Moravec Date: Wed, 13 Nov 2019 14:42:33 +0100 Subject: [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 --- sos/plugins/kubernetes.py | 1 + 1 file changed, 1 insertion(+) 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 = [ -- cgit