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:
parent
2a5c726aa4
commit
d0faf787d9
@ -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…
x
Reference in New Issue
Block a user