From d4c5292e8f3c6633885f1ecca39cb715ece029d6 Mon Sep 17 00:00:00 2001 From: Owen Date: Tue, 18 Nov 2025 15:41:21 -0500 Subject: [PATCH] Remove update check from tunnel Former-commit-id: 9c8d99b6018f866690c137415aa11b765536a0e7 --- main.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/main.go b/main.go index ef0cb3e..7b2627e 100644 --- a/main.go +++ b/main.go @@ -9,6 +9,7 @@ import ( "syscall" "github.com/fosrl/newt/logger" + "github.com/fosrl/newt/updates" "github.com/fosrl/olm/olm" ) @@ -199,6 +200,10 @@ func runOlmMainWithArgs(ctx context.Context, args []string) { logger.Debug("Saved full olm config with all options") } + if err := updates.CheckForUpdate("fosrl", "olm", config.Version); err != nil { + logger.Debug("Failed to check for updates: %v", err) + } + // Create a new olm.Config struct and copy values from the main config olmConfig := olm.Config{ Endpoint: config.Endpoint,