mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-01-31 00:23:57 +00:00
Merge pull request #1051 from balena-io/network-check-if-unmanaged
api: Perform network checks if device is unmanaged
This commit is contained in:
commit
61b6d9fe20
@ -307,7 +307,6 @@ module.exports = class DeviceState extends EventEmitter
|
||||
@triggerApplyTarget({ initial: true })
|
||||
|
||||
initNetworkChecks: ({ apiEndpoint, connectivityCheckEnabled, unmanaged }) =>
|
||||
return if unmanaged
|
||||
network.startConnectivityCheck apiEndpoint, connectivityCheckEnabled, (connected) =>
|
||||
@connected = connected
|
||||
@config.on 'change', (changedConfig) ->
|
||||
|
Loading…
x
Reference in New Issue
Block a user