mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-04-10 20:59:55 +00:00
fix: Don't assume config is defined for legacy images in logger
Change-type: patch Signed-off-by: Cameron Diver <cameron@resin.io>
This commit is contained in:
parent
ccdf0b2075
commit
d7edd3eb63
@ -259,6 +259,7 @@ export class Logger {
|
||||
}
|
||||
if (eventObj.service != null &&
|
||||
eventObj.service.serviceName != null &&
|
||||
eventObj.service.config != null &&
|
||||
eventObj.service.config.image != null
|
||||
) {
|
||||
return `${eventObj.service.serviceName} ${eventObj.service.config.image}`;
|
||||
|
Loading…
x
Reference in New Issue
Block a user