From: tierno Date: Tue, 18 Sep 2018 12:13:31 +0000 (+0200) Subject: fix issue 2 at vim_db X-Git-Tag: v5.0.0~1 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F03%2F6503%2F1;p=osm%2Fopenvim.git fix issue 2 at vim_db Change-Id: I1c87b3c1b494b672d6acfa8483b4a4ccd3c6b72e Signed-off-by: tierno --- 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)