Merge "Report data to conductor"
This commit is contained in:
commit
6a0c367c02
|
@ -70,4 +70,7 @@ class ResourceTracker(object):
|
|||
acc_list = []
|
||||
for acc_driver in self.acc_drivers:
|
||||
acc_list.extend(acc_driver.discover())
|
||||
# Call conductor_api here to diff and report acc data.
|
||||
# Call conductor_api here to diff and report acc data. Now, we actually
|
||||
# do not have the method report_data.
|
||||
if acc_list:
|
||||
self.conductor_api.report_data(context, self.host, acc_list)
|
||||
|
|
Loading…
Reference in New Issue