From 4130df7771e881cab1880afaf9ba0d3ca04e54a0 Mon Sep 17 00:00:00 2001 From: Praneeth Bodduluri Date: Wed, 7 Oct 2015 00:00:14 +0530 Subject: [PATCH] Add Changelog and switch to using RESIN variables --- CHANGELOG.md | 4 ++++ src/application.coffee | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6a2d3aa4..a9451728 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +* Enable control of API poll interval through Device Variables [Praneeth] +* Allow control of VPN + TCP check + Pub nub logs with Device Environment variables [Praneeth] +* Add GO api for openvpn control [Praneeth] + # v1.0.2 * Fix getting API key from DB by returning its .value [Pablo] diff --git a/src/application.coffee b/src/application.coffee index 30494371..b0b6ffd1 100644 --- a/src/application.coffee +++ b/src/application.coffee @@ -300,10 +300,10 @@ apiPollInterval = (val) -> specialActionEnvVars = 'RESIN_OVERRIDE_LOCK': null - '_RESIN_VPN_CONTROL': utils.vpnControl - '_RESIN_CONNECTIVITY_CHECK': utils.connectivityCheck - '_RESIN_POLL_INTERVAL': apiPollInterval - '_RESIN_LOG_CONTROL': utils.resinLogControl + 'RESIN_VPN_CONTROL': utils.vpnControl + 'RESIN_CONNECTIVITY_CHECK': utils.connectivityCheck + 'RESIN_POLL_INTERVAL': apiPollInterval + 'RESIN_LOG_CONTROL': utils.resinLogControl executedSpecialActionEnvVars = {}