From d0faf787d92e20a55faf35ea6d95dd4d7ae7e598 Mon Sep 17 00:00:00 2001 From: Sahid Orentino Ferdjaoui Date: Fri, 12 Apr 2019 12:16:13 +0000 Subject: [PATCH] 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 --- nova/virt/lxd/driver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nova/virt/lxd/driver.py b/nova/virt/lxd/driver.py index c63e69aa..67c65dfb 100644 --- a/nova/virt/lxd/driver.py +++ b/nova/virt/lxd/driver.py @@ -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)