Skip to content

Commit b2e7306

Browse files
authoredFeb 8, 2021
Merge pull request #332 from tremes/relax_some_gatherers_master
Bug 1926082: Relax the recent log gatherers to avoid degrading during…
2 parents f775f04 + 2b1287e commit b2e7306

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed
 

‎pkg/gather/clusterconfig/0_gatherer.go

+8-8
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ import (
1616
)
1717

1818
type gatherStatusReport struct {
19-
Name string `json:"name"`
20-
Duration time.Duration `json:"duration_in_ms"`
21-
RecordsCount int `json:"records_count"`
22-
Errors []string `json:"errors"`
19+
Name string `json:"name"`
20+
Duration time.Duration `json:"duration_in_ms"`
21+
RecordsCount int `json:"records_count"`
22+
Errors []string `json:"errors"`
2323
}
2424

2525
// Gatherer is a driving instance invoking collection of data
@@ -78,10 +78,10 @@ var gatherFunctions = map[string]gathering{
7878
"machine_config_pools": important(GatherMachineConfigPool),
7979
"container_runtime_configs": important(GatherContainerRuntimeConfig),
8080
"netnamespaces": important(GatherNetNamespace),
81-
"openshift_apiserver_operator_logs": important(GatherOpenShiftAPIServerOperatorLogs),
82-
"openshift_sdn_logs": important(GatherOpenshiftSDNLogs),
83-
"openshift_sdn_controller_logs": important(GatherOpenshiftSDNControllerLogs),
84-
"openshift_authentication_logs": important(GatherOpenshiftAuthenticationLogs),
81+
"openshift_apiserver_operator_logs": failable(GatherOpenShiftAPIServerOperatorLogs),
82+
"openshift_sdn_logs": failable(GatherOpenshiftSDNLogs),
83+
"openshift_sdn_controller_logs": failable(GatherOpenshiftSDNControllerLogs),
84+
"openshift_authentication_logs": failable(GatherOpenshiftAuthenticationLogs),
8585
"sap_config": failable(GatherSAPConfig),
8686
"olm_operators": failable(GatherOLMOperators),
8787
}

0 commit comments

Comments
 (0)
Please sign in to comment.