From 8daf77c3b61bc5056ed0c2b10f7ef7da3bdf0938 Mon Sep 17 00:00:00 2001 From: cmeng Date: Wed, 1 Nov 2023 12:00:05 +1300 Subject: [PATCH] fix(log-viewer): unable to view container logs EE-6273 (#10555) --- app/docker/services/containerService.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/docker/services/containerService.js b/app/docker/services/containerService.js index a3382036c..1dc37359d 100644 --- a/app/docker/services/containerService.js +++ b/app/docker/services/containerService.js @@ -158,9 +158,10 @@ function ContainerServiceFactory($q, Container, $timeout) { timestamps: timestamps || 0, since: since || 0, tail: tail || 'all', + environmentId, }; - Container.logs(environmentId, parameters) + Container.logs(parameters) .$promise.then(function success(data) { var logs = formatLogs(data.logs, { stripHeaders, withTimestamps: !!timestamps }); deferred.resolve(logs);