Merge "Remove unnecessary default provider_tree when getting traits"

This commit is contained in:
Zuul 2019-03-19 15:59:35 +00:00 committed by Gerrit Code Review
commit 56947658b0
1 changed files with 1 additions and 1 deletions

View File

@ -917,7 +917,7 @@ class ResourceTracker(object):
return True
return False
def _get_traits(self, nodename, provider_tree=None):
def _get_traits(self, nodename, provider_tree):
# Get the traits from the ProviderTree which will be the set
# of virt-owned traits plus any externally defined traits set
# on the provider that aren't owned by the virt driver.