1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Specify container to call for logs query

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev 2023-03-27 11:15:57 +03:00
parent b7f64c2638
commit 8a407401c0

View File

@ -101,7 +101,7 @@ export class LogTabViewModel {
if (pod && tabData) { if (pod && tabData) {
const params = { name: pod.getName(), namespace: pod.getNs() }; 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); return this.dependencies.downloadAllLogs(params, query);
} }