driver: add missing use_cache parameter for get_info()

With 19cb8280232 The driver interface has been updated. Now that the
method get_info() has an extra parameter 'use_cache'. That one is
currently not going to be used in lxd driver since we don't cache such
info.

Change-Id: Iaa1c7e9717619b087b98cc5171de2984954ccc6e
Closes-Bug: #1824300
Signed-off-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@canonical.com>
This commit is contained in:
Sahid Orentino Ferdjaoui 2019-04-12 12:16:13 +00:00
parent 2a5c726aa4
commit d0faf787d9
1 changed files with 1 additions and 1 deletions

View File

@ -479,7 +479,7 @@ class LXDDriver(driver.ComputeDriver):
information.
"""
def get_info(self, instance):
def get_info(self, instance, use_cache=True):
"""Return an InstanceInfo object for the instance."""
try:
container = self.client.containers.get(instance.name)