Merge pull request #1023 from balena-io/fix-unnecessary-vpn-override

fix: When reporting initial config, avoid creating a "VPN enabled" un…
This commit is contained in:
Pablo Carranza Vélez 2019-07-02 08:40:10 -07:00 committed by GitHub
commit fe20f1b400
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -708,7 +708,7 @@ export class APIBinder {
varValue = 'true';
}
if (targetConfig[key] == null && value !== defaultConfig[key]) {
if (targetConfig[key] == null && varValue !== defaultConfig[key]) {
const envVar = {
value: varValue,
device: deviceId,