From 29e4f58b62b3b962e622fa56bdf59aa1794e0a64 Mon Sep 17 00:00:00 2001 From: tierno Date: Tue, 18 Sep 2018 14:13:31 +0200 Subject: [PATCH] fix issue 2 at vim_db Change-Id: I1c87b3c1b494b672d6acfa8483b4a4ccd3c6b72e Signed-off-by: tierno --- osm_openvim/vim_db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osm_openvim/vim_db.py b/osm_openvim/vim_db.py index 5359c01..67c7e1a 100644 --- a/osm_openvim/vim_db.py +++ b/osm_openvim/vim_db.py @@ -1197,7 +1197,7 @@ class vim_db(): numa_id = str(k['id']) numa_dict = {} # get memory - cmd = "SELECT consumed FROM resources_mem WHERE instance_id = '{}' AND numa_id = '{}'".foramt( + cmd = "SELECT consumed FROM resources_mem WHERE instance_id = '{}' AND numa_id = '{}'".format( instance_id, numa_id) self.logger.debug(cmd) self.cur.execute(cmd) -- 2.25.1