Merge "Report data to conductor"

This commit is contained in:
Zuul 2019-03-09 05:34:06 +00:00 committed by Gerrit Code Review
commit 6a0c367c02
1 changed files with 4 additions and 1 deletions

View File

@ -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)