Skip to content

Commit 5ec3524

Browse files
committed
fixing host filesystem perf function for windows and darwin
1 parent a471ad5 commit 5ec3524

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/collect/host_filesystem_performance_darwin.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ import (
55
troubleshootv1beta2 "github.com/replicatedhq/troubleshoot/pkg/apis/troubleshoot/v1beta2"
66
)
77

8-
func collectHostFilesystemPerformance(hostCollector *troubleshootv1beta2.FilesystemPerformance) (map[string][]byte, error) {
8+
func collectHostFilesystemPerformance(hostCollector *troubleshootv1beta2.FilesystemPerformance, bundlePath string) (map[string][]byte, error) {
99
return nil, errors.New("Filesystem performance collector is only implemented for Linux")
1010
}

pkg/collect/host_filesystem_performance_windows.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ import (
55
troubleshootv1beta2 "github.com/replicatedhq/troubleshoot/pkg/apis/troubleshoot/v1beta2"
66
)
77

8-
func collectHostFilesystemPerformance(hostCollector *troubleshootv1beta2.FilesystemPerformance) (map[string][]byte, error) {
8+
func collectHostFilesystemPerformance(hostCollector *troubleshootv1beta2.FilesystemPerformance, bundlePath string) (map[string][]byte, error) {
99
return nil, errors.New("Filesystem performance collector is only implemented for Linux")
1010
}

0 commit comments

Comments
 (0)