We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3af3b6 commit 7425f58Copy full SHA for 7425f58
pkg/preflight/collect.go
@@ -77,8 +77,6 @@ func (cr RemoteCollectResult) IsRBACAllowed() bool {
77
func CollectHost(opts CollectOpts, p *troubleshootv1beta2.HostPreflight) (CollectResult, error) {
78
collectSpecs := make([]*troubleshootv1beta2.HostCollect, 0, 0)
79
collectSpecs = append(collectSpecs, p.Spec.Collectors...)
80
- collectSpecs = ensureHostCollectorInList(collectSpecs, troubleshootv1beta2.HostCollect{CPU: &troubleshootv1beta2.CPU{}})
81
- collectSpecs = ensureHostCollectorInList(collectSpecs, troubleshootv1beta2.HostCollect{Memory: &troubleshootv1beta2.Memory{}})
82
83
allCollectedData := make(map[string][]byte)
84
0 commit comments