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:
parent
b7f64c2638
commit
8a407401c0
@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user