Specify container to call for logs query

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev committed 2023-03-27 11:15:57 +03:00
1 parent b7f64c2638
commit 8a407401c0
1 file changed
+1 -1
@@ -101,7 +101,7 @@ export class LogTabViewModel {
if (pod && tabData) {
const params = { name: pod.getName(), namespace: pod.getNs() };
const query = { timestamps: tabData.showTimestamps, previous: tabData.showPrevious };
const query = { timestamps: tabData.showTimestamps, previous: tabData.showPrevious, container: tabData.selectedContainer };
return this.dependencies.downloadAllLogs(params, query);
}