Skip to content

Commit a249856

Browse files
harshit12339amitytPriteshKiri
authored
fix: resolve missing experiment pod logs issue (#5207)
Fixed missing experiment pod logs by updating relevant entities and components. Updated workflowRun entity, CustomStepLog controller, and ExperimentRunDetailsPanel to properly handle and display experiment pod logs. Signed-off-by: Harshit Panchbhai <[email protected]> Co-authored-by: Amit Kumar Das <[email protected]> Co-authored-by: Pritesh Kiri <[email protected]>
1 parent e6f0a1f commit a249856

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

chaoscenter/web/src/api/entities/workflowRun.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export interface ChaosData {
1414
engineContext: string;
1515
engineUID: string;
1616
faultName: string;
17-
faultPod: string;
17+
experimentPod: string;
1818
faultStatus: string;
1919
faultVerdict: string;
2020
failStep: string;

chaoscenter/web/src/controllers/CustomStepLog/CustomStepLog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export default function CustomStepLogController({
4040
podName: podName,
4141
podNamespace: namespace ?? '',
4242
podType: nodeType ?? '',
43-
expPod: chaosData?.faultPod,
43+
expPod: chaosData?.experimentPod,
4444
runnerPod: chaosData?.runnerPod,
4545
chaosNamespace: chaosData?.namespace
4646
}

chaoscenter/web/src/views/ExperimentRunDetailsPanel/ExperimentRunDetailsPanel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ const DetailsTabs = ({
8181
title: getString('logs'),
8282
panel: (
8383
<LogsTabController
84-
key={node.chaosData?.faultPod ?? podID}
84+
key={node.chaosData?.experimentPod ?? podID}
8585
chaosData={node.chaosData}
8686
nodeType={node.type}
8787
namespace={namespace}

0 commit comments

Comments
 (0)