From 4ef404543b6de0cf671b68c54e9b01bbca95b904 Mon Sep 17 00:00:00 2001 From: Moses Narrow Date: Sat, 13 Jul 2024 14:02:16 -0500 Subject: [PATCH] fix errors on mac & windows --- pkg/visor/visorconfig/values_darwin.go | 2 +- pkg/visor/visorconfig/values_windows.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/visor/visorconfig/values_darwin.go b/pkg/visor/visorconfig/values_darwin.go index 051b6852c6..bc0e7e2eab 100644 --- a/pkg/visor/visorconfig/values_darwin.go +++ b/pkg/visor/visorconfig/values_darwin.go @@ -41,7 +41,7 @@ type Survey struct { } // SystemSurvey returns system survey -func SystemSurvey(dmsgDisc string) (Survey, error) { +func SystemSurvey() (Survey, error) { disks, err := ghw.Block(ghw.WithDisableWarnings()) if err != nil { return Survey{}, err diff --git a/pkg/visor/visorconfig/values_windows.go b/pkg/visor/visorconfig/values_windows.go index be39aaf748..a18312893f 100644 --- a/pkg/visor/visorconfig/values_windows.go +++ b/pkg/visor/visorconfig/values_windows.go @@ -43,7 +43,7 @@ type Survey struct { } // SystemSurvey returns system survey -func SystemSurvey(dmsgDisc string) (Survey, error) { +func SystemSurvey() (Survey, error) { disks, err := ghw.Block(ghw.WithDisableWarnings()) if err != nil { return Survey{}, err