Skip to content

Commit

Permalink
Merge pull request #721 from rszwajko/noConnectionToProvider
Browse files Browse the repository at this point in the history
Handle incorrect inventory data in case of connectivity error between k8s and the provider
  • Loading branch information
yaacov authored Sep 8, 2023
2 parents 6f97ee5 + e1c82b1 commit 98d1719
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export const ProviderVirtualMachinesList: React.FC<ProviderVirtualMachinesListPr
} = useProviderInventory<ProviderVirtualMachine[]>(inventoryOptions);

const vmData: VmData[] =
!loading && !error && vms
!loading && !error && Array.isArray(vms)
? vms.map((vm) => ({
vm,
name: vm.name,
Expand Down

0 comments on commit 98d1719

Please sign in to comment.