From 14fcc96829ffbd006dce60581ba83e6bfd4091e9 Mon Sep 17 00:00:00 2001 From: Soleil-Clems Date: Fri, 23 Oct 2026 07:38:53 +0200 Subject: [PATCH] fix(manager): add repairMongoFCV stub for Linux and Windows builds --- manager/platform_linux.go | 4 ++++ manager/platform_windows.go | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/manager/platform_linux.go b/manager/platform_linux.go index 61ab0e3..0b18d86 100644 --- a/manager/platform_linux.go +++ b/manager/platform_linux.go @@ -334,3 +334,7 @@ func (a *App) killOnPort(port int, name string) error { } return fmt.Errorf("could not stop %s", name) } + +func repairMongoFCV(_ *App) error { + return fmt.Errorf("automatic MongoDB repair is not yet supported on Linux") +} diff --git a/manager/platform_windows.go b/manager/platform_windows.go index 75bcdd9..365f787 100644 --- a/manager/platform_windows.go +++ b/manager/platform_windows.go @@ -794,3 +794,7 @@ func (a *App) setupMySQLAfterInstall() string { } return "MySQL installed. user=root" } + +func repairMongoFCV(_ *App) error { + return fmt.Errorf("automatic MongoDB repair is not yet supported on Windows") +}