Skip to content
This repository was archived by the owner on Mar 1, 2024. It is now read-only.

Commit 4d7c3ce

Browse files
mareklibrarawagner
authored andcommitted
Fix: add 3rd arg to findPod()
1 parent e81d755 commit 4d7c3ce

File tree

1 file changed

+2
-2
lines changed
  • frontend/public/kubevirt/components

1 file changed

+2
-2
lines changed

frontend/public/kubevirt/components/vm.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ export const VMRow = ({obj: vm}) => {
162162
</div>
163163
<div className="col-lg-2 col-md-2 col-sm-2 hidden-xs">
164164
<Firehose resources={[podResources]} flatten={getFlattenForKind(PodModel.kind)}>
165-
<FirehoseResourceLink filter={data => findPod(data, vm.metadata.name)} />
165+
<FirehoseResourceLink filter={data => findPod(data, vm.metadata.name, VIRT_LAUNCHER_POD_PREFIX)} />
166166
</Firehose>
167167
</div>
168168
<div className="co-kebab-wrapper">
@@ -197,7 +197,7 @@ const VMStatus = (props) => {
197197
<dt>Pod:</dt>
198198
<dd>
199199
<Firehose resources={[podResources]} flatten={getFlattenForKind(PodModel.kind)}>
200-
<FirehoseResourceLink filter={data => findPod(data, props.vm.metadata.name)} />
200+
<FirehoseResourceLink filter={data => findPod(data, props.vm.metadata.name, VIRT_LAUNCHER_POD_PREFIX)} />
201201
</Firehose>
202202
</dd>
203203
</dl>

0 commit comments

Comments
 (0)