Skip to content

Commit

Permalink
Merge pull request #5690 from pcbailey/fix-vm-template-disks-tab
Browse files Browse the repository at this point in the history
Bug 1845189: Fix NPE in combinedDisk
  • Loading branch information
openshift-merge-robot committed Jun 8, 2020
2 parents 3a79ed2 + d87ab3d commit b98d066
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ export class CombinedDiskFactory {

if (dataVolume && this.pvcs) {
pvc = this.pvcs.find((p) =>
getOwnerReferences(p).some((ownerReference) =>
(getOwnerReferences(p) || []).some((ownerReference) =>
compareOwnerReference(ownerReference, {
name: dataVolumeName,
kind: DataVolumeModel.kind,
Expand Down

0 comments on commit b98d066

Please sign in to comment.