From 1ad750e2efa960fddc8a153333de72d3e1221341 Mon Sep 17 00:00:00 2001 From: Alex Holliday Date: Fri, 10 Apr 2026 12:41:46 -0700 Subject: [PATCH] fix ternary condiiton --- server/src/service/infrastructure/network/DockerProvider.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/src/service/infrastructure/network/DockerProvider.ts b/server/src/service/infrastructure/network/DockerProvider.ts index b3eca354b..1d4b98818 100644 --- a/server/src/service/infrastructure/network/DockerProvider.ts +++ b/server/src/service/infrastructure/network/DockerProvider.ts @@ -90,7 +90,8 @@ export class DockerProvider implements IStatusProvider { if (partialIdMatch && !exactIdMatch) matchTypes.push("partial ID"); if (matchTypes.length > 1) { - const message = `Ambiguous container match for "${containerInput}". Matched by: ${matchTypes.join(", ")}. Using ${exactIdMatch ? "exact ID" : "exact name"} match.`; + const matchUsed = exactIdMatch ? "exact ID" : "exact name"; + const message = `Ambiguous container match for "${containerInput}". Matched by: ${matchTypes.join(", ")}. Using ${matchUsed} match.`; this.logger.warn({ message,