[WIP] Add restart command to instance
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
package captain
|
||||
|
||||
import (
|
||||
"github.com/safing/portmaster/service/updates"
|
||||
"github.com/safing/portmaster/spn/conf"
|
||||
"github.com/safing/portmaster/spn/docks"
|
||||
)
|
||||
@@ -41,5 +40,7 @@ func updateConnectionStatus() {
|
||||
return
|
||||
}
|
||||
}
|
||||
updates.TriggerRestartIfPending()
|
||||
|
||||
// TODO(vladimir): what was this needed for?
|
||||
// updates.TriggerRestartIfPending()
|
||||
}
|
||||
|
||||
@@ -44,7 +44,7 @@ func updateSPNIntel(_ context.Context, _ interface{}) (err error) {
|
||||
|
||||
// Check if there is something to do.
|
||||
// TODO(vladimir): is update check needed
|
||||
if intelResource != nil { //&& !intelResource.UpgradeAvailable() {
|
||||
if intelResource != nil { // && !intelResource.UpgradeAvailable() {
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user