Skip to content

Commit

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

[release-4.6] Bug 1911260: Fix logs streaming issue in multistream logs
  • Loading branch information
openshift-merge-robot committed Feb 11, 2021
2 parents 41f0d38 + 5dd29b2 commit a3864bd
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ export const MultiStreamLogs: React.FC<MultiStreamLogsProps> = ({
>
<div className="odc-multi-stream-logs__container__logs" ref={scrollPane}>
{containers.map((container, idx) => {
const resourceStatus = containerToLogSourceStatus(containerStatus[idx]);
const statusIndex = containerStatus.findIndex((c) => c.name === container.name);
const resourceStatus = containerToLogSourceStatus(containerStatus[statusIndex]);
return (
resourceStatus !== LOG_SOURCE_WAITING && (
<Logs
Expand Down

0 comments on commit a3864bd

Please sign in to comment.