From 65ef1d3c68b00de994b85757f4e38c94ed25b102 Mon Sep 17 00:00:00 2001 From: Amir Raminfar Date: Tue, 31 Dec 2024 09:07:52 -0800 Subject: [PATCH] fix: shows container and host name correctly for events. (#3494) --- .../LogViewer/ContainerEventLogItem.vue | 44 +++++++++---------- assets/models/LogEntry.ts | 2 +- 2 files changed, 21 insertions(+), 25 deletions(-) diff --git a/assets/components/LogViewer/ContainerEventLogItem.vue b/assets/components/LogViewer/ContainerEventLogItem.vue index 22eaa5cd6ea4..20f51e21b56c 100644 --- a/assets/components/LogViewer/ContainerEventLogItem.vue +++ b/assets/components/LogViewer/ContainerEventLogItem.vue @@ -1,29 +1,25 @@ diff --git a/assets/models/LogEntry.ts b/assets/models/LogEntry.ts index 8ee5ff1d6b0a..0bdd9e6eb0c8 100644 --- a/assets/models/LogEntry.ts +++ b/assets/models/LogEntry.ts @@ -135,7 +135,7 @@ export class ContainerEventLogEntry extends LogEntry { date: Date, public readonly event: "container-stopped" | "container-started", ) { - super(message, containerID, date.getTime(), date, "stderr", "info"); + super(message, containerID, date.getTime(), date, "stderr", "unknown"); } getComponent(): Component { return ContainerEventLogItem;