Skip to content

Commit

Permalink
Merge pull request #5876 from openshift-cherrypick-robot/cherry-pick-…
Browse files Browse the repository at this point in the history
…5869-to-release-4.5

[release-4.5] Bug 1852790: When node disk is under pressure NodeTerminalError should show pod's status message
  • Loading branch information
openshift-merge-robot committed Aug 20, 2020
2 parents 7cbdff3 + 38e3dcc commit 95f1a68
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ const NodeTerminalInner: React.FC<NodeTerminalInnerProps> = ({ obj }) => {
error={
<>
The debug pod failed.{' '}
{obj?.data?.status?.containerStatuses[0]?.state?.terminated?.message}
{obj?.data?.status?.containerStatuses?.[0]?.state?.terminated?.message ||
obj?.data?.status?.message}
</>
}
/>
Expand Down

0 comments on commit 95f1a68

Please sign in to comment.