mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-19 05:37:53 +00:00
Merge pull request #2145 from balena-os/add-missing-log-backend-reference
Add missing log backend field assignment in logger init
This commit is contained in:
commit
1d8844c4a6
@ -59,6 +59,7 @@ export const initialized = _.once(async () => {
|
||||
const conf = await config.getMany([
|
||||
'uuid',
|
||||
'apiEndpoint',
|
||||
'logsEndpoint',
|
||||
'deviceApiKey',
|
||||
]);
|
||||
|
||||
@ -70,7 +71,7 @@ export const initialized = _.once(async () => {
|
||||
// Everything is set, provide the values to the
|
||||
// balenaBackend, and remove our listener
|
||||
balenaBackend!.assignFields(
|
||||
conf.apiEndpoint,
|
||||
conf.logsEndpoint ?? conf.apiEndpoint,
|
||||
conf.uuid!,
|
||||
conf.deviceApiKey,
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user