aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPablo Alonso Rodriguez <palonsoro@users.noreply.github.com>2019-03-26 17:39:53 +0100
committerBryn M. Reeves <bmr@redhat.com>2019-03-27 12:28:21 +0000
commit3b76744fb2cb52db178615083a01c9142ea30d70 (patch)
tree200e8c06a992b44a29cf3e90e58c50def8705b1f
parent3922829a59e987450d8c04e7ed3d42e3b03282dc (diff)
downloadsos-3b76744fb2cb52db178615083a01c9142ea30d70.tar.gz
[origin] make origin.diag-prevent on by default
Making origin.diag-prevent option "on" by default, so that sosreport does not create/modify/delete projects by default in an OpenShift cluster. Resolves: #1624 Signed-off-by: Pablo Alonso Rodriguez <palonsor@redhat.com> Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/origin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/plugins/origin.py b/sos/plugins/origin.py
index 75b24021..548b444c 100644
--- a/sos/plugins/origin.py
+++ b/sos/plugins/origin.py
@@ -43,7 +43,7 @@ class OpenShiftOrigin(Plugin):
("diag", "run 'oc adm diagnostics' to collect its output",
'fast', True),
("diag-prevent", "set --prevent-modification on 'oc adm diagnostics'",
- 'fast', False),
+ 'fast', True),
("all-namespaces", "collect dc output for all namespaces", "fast",
False)
]