Skip to content

Commit 28b9ce1

Browse files
committed
fix: hot standby was not refering to it's full name
1 parent aa2a5e0 commit 28b9ce1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/mos-gateway/src/mosHandler.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,8 @@ export class MosHandler {
424424
for (const [deviceId, device] of Object.entries<{ options: MosDeviceConfig }>(devices)) {
425425
if (device) {
426426
if (device.options.secondary) {
427-
this._openMediaHotStandby[device.options.secondary.id] =
427+
const fullSecondaryId = this._settings?.mosId + '_' + device.options.secondary.id
428+
this._openMediaHotStandby[fullSecondaryId] =
428429
device.options.secondary?.openMediaHotStandby || false
429430
// If the host isn't set, don't use secondary:
430431
if (!device.options.secondary.host || !device.options.secondary.id)

0 commit comments

Comments
 (0)