mirror of
https://github.com/fosrl/olm.git
synced 2026-03-09 20:26:47 +00:00
Remove update check from tunnel
This commit is contained in:
5
main.go
5
main.go
@@ -9,6 +9,7 @@ import (
|
|||||||
"syscall"
|
"syscall"
|
||||||
|
|
||||||
"github.com/fosrl/newt/logger"
|
"github.com/fosrl/newt/logger"
|
||||||
|
"github.com/fosrl/newt/updates"
|
||||||
"github.com/fosrl/olm/olm"
|
"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")
|
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
|
// Create a new olm.Config struct and copy values from the main config
|
||||||
olmConfig := olm.Config{
|
olmConfig := olm.Config{
|
||||||
Endpoint: config.Endpoint,
|
Endpoint: config.Endpoint,
|
||||||
|
|||||||
Reference in New Issue
Block a user