Moshe Levi 8d11cba5ed PCI: Check pci_requests object is empty before passing to support_requests
This commit checks that InstancePCIRequests is empty before
passing it to the pci_stats.support_requests.
This prevents doing the support request check for host_state
which don't have pci_stats like ironic host.

Closes-Bug: #1658078

Change-Id: Ie6d870729883e2bbdc3278c52e88d147613712f6
2017-01-25 11:14:39 +02:00
..
2017-01-18 15:00:14 +07:00
2017-01-18 15:00:14 +07:00
2017-01-18 15:00:14 +07:00
2017-01-19 01:02:02 +00:00
2017-01-18 15:00:14 +07:00
2017-01-18 15:00:14 +07:00
2017-01-18 15:00:14 +07:00
2016-07-29 15:36:28 -05:00
2016-10-27 08:19:38 +00:00
2017-01-18 15:00:14 +07:00
2017-01-18 15:00:14 +07:00
2016-11-28 04:07:12 +08:00
2017-01-18 15:00:14 +07:00
2017-01-18 15:00:14 +07:00
2017-01-04 22:57:14 -06:00
2017-01-18 15:00:14 +07:00
2017-01-18 15:00:14 +07:00
2017-01-18 15:00:14 +07:00
2016-09-23 20:10:24 +00:00