mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-04-18 16:17:28 +00:00
Merge pull request #962 from balena-io/fix-local-mode-exit-state-report
Don't attempt to report any state during local mode
This commit is contained in:
commit
d0191309b7
@ -521,6 +521,9 @@ export class APIBinder {
|
||||
|
||||
private reportCurrentState(): null {
|
||||
(async () => {
|
||||
if ((await this.config.get('localMode')) === true) {
|
||||
return;
|
||||
}
|
||||
this.reportPending = true;
|
||||
try {
|
||||
const currentDeviceState = await this.deviceState.getStatus();
|
||||
|
Loading…
x
Reference in New Issue
Block a user