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>
(cherry picked from commit d0faf787d9
)
This commit is contained in:
parent
14819c16f3
commit
56edf3c4bc
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue