mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-01-25 22:00:20 +00:00
localMode: Remove local mode from device-config
Change-type: patch Signed-off-by: Cameron Diver <cameron@balena.io>
This commit is contained in:
parent
5015721524
commit
eda477ff86
@ -13,7 +13,6 @@ module.exports = class DeviceConfig
|
|||||||
@rebootRequired = false
|
@rebootRequired = false
|
||||||
@configKeys = {
|
@configKeys = {
|
||||||
appUpdatePollInterval: { envVarName: 'SUPERVISOR_POLL_INTERVAL', varType: 'int', defaultValue: '60000' }
|
appUpdatePollInterval: { envVarName: 'SUPERVISOR_POLL_INTERVAL', varType: 'int', defaultValue: '60000' }
|
||||||
localMode: { envVarName: 'SUPERVISOR_LOCAL_MODE', varType: 'bool', defaultValue: 'false' }
|
|
||||||
connectivityCheckEnabled: { envVarName: 'SUPERVISOR_CONNECTIVITY_CHECK', varType: 'bool', defaultValue: 'true' }
|
connectivityCheckEnabled: { envVarName: 'SUPERVISOR_CONNECTIVITY_CHECK', varType: 'bool', defaultValue: 'true' }
|
||||||
loggingEnabled: { envVarName: 'SUPERVISOR_LOG_CONTROL', varType: 'bool', defaultValue: 'true' }
|
loggingEnabled: { envVarName: 'SUPERVISOR_LOG_CONTROL', varType: 'bool', defaultValue: 'true' }
|
||||||
delta: { envVarName: 'SUPERVISOR_DELTA', varType: 'bool', defaultValue: 'false' }
|
delta: { envVarName: 'SUPERVISOR_DELTA', varType: 'bool', defaultValue: 'false' }
|
||||||
|
@ -21,7 +21,6 @@ mockedInitialConfig = {
|
|||||||
'RESIN_SUPERVISOR_DELTA_RETRY_COUNT': '30'
|
'RESIN_SUPERVISOR_DELTA_RETRY_COUNT': '30'
|
||||||
'RESIN_SUPERVISOR_DELTA_RETRY_INTERVAL': '10000'
|
'RESIN_SUPERVISOR_DELTA_RETRY_INTERVAL': '10000'
|
||||||
'RESIN_SUPERVISOR_DELTA_VERSION': '2'
|
'RESIN_SUPERVISOR_DELTA_VERSION': '2'
|
||||||
'RESIN_SUPERVISOR_LOCAL_MODE': 'false'
|
|
||||||
'RESIN_SUPERVISOR_LOG_CONTROL': 'true'
|
'RESIN_SUPERVISOR_LOG_CONTROL': 'true'
|
||||||
'RESIN_SUPERVISOR_OVERRIDE_LOCK': 'false'
|
'RESIN_SUPERVISOR_OVERRIDE_LOCK': 'false'
|
||||||
'RESIN_SUPERVISOR_POLL_INTERVAL': '60000'
|
'RESIN_SUPERVISOR_POLL_INTERVAL': '60000'
|
||||||
@ -40,7 +39,6 @@ testTarget1 = {
|
|||||||
'SUPERVISOR_DELTA_RETRY_COUNT': '30'
|
'SUPERVISOR_DELTA_RETRY_COUNT': '30'
|
||||||
'SUPERVISOR_DELTA_RETRY_INTERVAL': '10000'
|
'SUPERVISOR_DELTA_RETRY_INTERVAL': '10000'
|
||||||
'SUPERVISOR_DELTA_VERSION': '2'
|
'SUPERVISOR_DELTA_VERSION': '2'
|
||||||
'SUPERVISOR_LOCAL_MODE': 'false'
|
|
||||||
'SUPERVISOR_LOG_CONTROL': 'true'
|
'SUPERVISOR_LOG_CONTROL': 'true'
|
||||||
'SUPERVISOR_OVERRIDE_LOCK': 'false'
|
'SUPERVISOR_OVERRIDE_LOCK': 'false'
|
||||||
'SUPERVISOR_POLL_INTERVAL': '60000'
|
'SUPERVISOR_POLL_INTERVAL': '60000'
|
||||||
@ -122,7 +120,6 @@ testTargetWithDefaults2 = {
|
|||||||
'SUPERVISOR_DELTA_RETRY_COUNT': '30'
|
'SUPERVISOR_DELTA_RETRY_COUNT': '30'
|
||||||
'SUPERVISOR_DELTA_RETRY_INTERVAL': '10000'
|
'SUPERVISOR_DELTA_RETRY_INTERVAL': '10000'
|
||||||
'SUPERVISOR_DELTA_VERSION': '2'
|
'SUPERVISOR_DELTA_VERSION': '2'
|
||||||
'SUPERVISOR_LOCAL_MODE': 'false'
|
|
||||||
'SUPERVISOR_LOG_CONTROL': 'true'
|
'SUPERVISOR_LOG_CONTROL': 'true'
|
||||||
'SUPERVISOR_OVERRIDE_LOCK': 'false'
|
'SUPERVISOR_OVERRIDE_LOCK': 'false'
|
||||||
'SUPERVISOR_POLL_INTERVAL': '60000'
|
'SUPERVISOR_POLL_INTERVAL': '60000'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user