Merge pull request #415 from resin-io/413-fix-bw-control

Issue #413: Fix an error applying the connectivity check config var
This commit is contained in:
Pablo Carranza Vélez 2017-03-30 14:13:26 -03:00 committed by GitHub
commit 583344dc1d

View File

@ -178,7 +178,7 @@ exports.extendEnvVars = (env, uuid, appId, appName, commit) ->
exports.enableConnectivityCheck = (val) -> exports.enableConnectivityCheck = (val) ->
enabled = checkTruthy(val) ? true enabled = checkTruthy(val) ? true
disableCheck(!enabled) disableCheck(!enabled)
console.log("Connectivity check enabled: #{not bool}") console.log("Connectivity check enabled: #{enabled}")
# Callback function to enable/disable logs # Callback function to enable/disable logs
exports.resinLogControl = (val) -> exports.resinLogControl = (val) ->