1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-24 06:28:42 +01:00

feat: handles container exits better and uses the real time when container has exited (#3504)

This commit is contained in:
Amir Raminfar
2025-01-03 13:09:36 -08:00
committed by GitHub
parent cc620ad429
commit 46fb09e2f7
16 changed files with 191 additions and 90 deletions

View File

@@ -94,7 +94,19 @@ describe("<ContainerEventSource />", () => {
},
props: {
streamSource: useContainerStream,
entity: new Container("abc", new Date(), "image", "name", "command", "localhost", {}, "created", []),
entity: new Container(
"abc",
new Date(), // created
new Date(), // started
new Date(), // finished
"image",
"name",
"command",
"localhost",
{},
"created",
[],
),
},
});
}