mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-01-21 12:05:00 +00:00
Fix: Duplicated exports.connectivityCheck in utils.coffee
This commit is contained in:
parent
3c8dce9bf4
commit
89abff57f6
@ -313,7 +313,7 @@ specialActionEnvVars =
|
||||
'RESIN_SUPERVISOR_HANDOVER_TIMEOUT': null
|
||||
'RESIN_SUPERVISOR_OVERRIDE_LOCK': null
|
||||
'RESIN_SUPERVISOR_VPN_CONTROL': utils.vpnControl
|
||||
'RESIN_SUPERVISOR_CONNECTIVITY_CHECK': utils.connectivityCheck
|
||||
'RESIN_SUPERVISOR_CONNECTIVITY_CHECK': utils.enableConnectivityCheck
|
||||
'RESIN_SUPERVISOR_POLL_INTERVAL': apiPollInterval
|
||||
'RESIN_SUPERVISOR_LOG_CONTROL': utils.resinLogControl
|
||||
|
||||
|
@ -141,7 +141,7 @@ exports.extendEnvVars = (env, uuid) ->
|
||||
return Promise.props(newEnv)
|
||||
|
||||
# Callback function to enable/disable tcp pings
|
||||
exports.connectivityCheck = (val) ->
|
||||
exports.enableConnectivityCheck = (val) ->
|
||||
bool = val is 'false'
|
||||
disableCheck(bool)
|
||||
console.log("Connectivity check enabled: #{not bool}")
|
||||
|
Loading…
Reference in New Issue
Block a user