aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlilinjie <lilinjie@uniontech.com>2023-04-23 16:01:03 +0800
committerPavel Moravec <pmoravec@redhat.com>2023-04-24 09:40:36 +0200
commit06b69869c647d27753cf732a42cbddb9b4424325 (patch)
tree7d9cdc4b6999c8bf514e8313dfdec42e474e7784
parent8e79f69a05a39145f5b7c47ac32a000405d47f44 (diff)
downloadsos-06b69869c647d27753cf732a42cbddb9b4424325.tar.gz
[component,plugins] fix typos
fix typos in comments Resolves: #3202 Signed-off-by: lilinjie <lilinjie@uniontech.com> Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
-rw-r--r--sos/component.py2
-rw-r--r--sos/report/plugins/origin.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/sos/component.py b/sos/component.py
index d385310d..a5a3fb1f 100644
--- a/sos/component.py
+++ b/sos/component.py
@@ -85,7 +85,7 @@ class SoSComponent():
except Exception:
pass
- # update args from component's arg_defaults defintion
+ # update args from component's arg_defaults definition
self._arg_defaults.update(self.arg_defaults)
self.opts = self.load_options() # lgtm [py/init-calls-subclass]
diff --git a/sos/report/plugins/origin.py b/sos/report/plugins/origin.py
index 2a6f1660..fc523f11 100644
--- a/sos/report/plugins/origin.py
+++ b/sos/report/plugins/origin.py
@@ -162,7 +162,7 @@ class OpenShiftOrigin(Plugin):
"atomic-openshift-master-api",
"atomic-openshift-master-controllers"])
- # get logs from the infrastruture pods running in the default ns
+ # get logs from the infrastructure pods running in the default ns
pods = self.exec_cmd("%s get pod -o name -n default"
% oc_cmd_admin)
for pod in pods['output'].splitlines():