Remove update check from tunnel

Former-commit-id: 9c8d99b601
This commit is contained in:
Owen
2025-11-18 15:41:21 -05:00
committed by miloschwartz
parent 45047343c4
commit d4c5292e8f

View File

@@ -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,