fixing host filesystem perf function for windows and darwin

This commit is contained in:
diamonwiggins
2022-05-12 20:09:03 +00:00
parent a471ad5e74
commit 5ec3524bde
2 changed files with 2 additions and 2 deletions

View File

@@ -5,6 +5,6 @@ import (
troubleshootv1beta2 "github.com/replicatedhq/troubleshoot/pkg/apis/troubleshoot/v1beta2"
)
func collectHostFilesystemPerformance(hostCollector *troubleshootv1beta2.FilesystemPerformance) (map[string][]byte, error) {
func collectHostFilesystemPerformance(hostCollector *troubleshootv1beta2.FilesystemPerformance, bundlePath string) (map[string][]byte, error) {
return nil, errors.New("Filesystem performance collector is only implemented for Linux")
}

View File

@@ -5,6 +5,6 @@ import (
troubleshootv1beta2 "github.com/replicatedhq/troubleshoot/pkg/apis/troubleshoot/v1beta2"
)
func collectHostFilesystemPerformance(hostCollector *troubleshootv1beta2.FilesystemPerformance) (map[string][]byte, error) {
func collectHostFilesystemPerformance(hostCollector *troubleshootv1beta2.FilesystemPerformance, bundlePath string) (map[string][]byte, error) {
return nil, errors.New("Filesystem performance collector is only implemented for Linux")
}