X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;ds=inline;f=osm_mon%2Fcore%2Fcommon_db.py;h=12c15dc98fcb62e204c01a1c3083f12930c7e388;hb=refs%2Fchanges%2F22%2F7322%2F3;hp=2d31f6ca9fffdf95af36e535ec46b0dcec936964;hpb=3ddffeaff35f46938e43558d852d330b9041d7c5;p=osm%2FMON.git diff --git a/osm_mon/core/common_db.py b/osm_mon/core/common_db.py index 2d31f6c..12c15dc 100644 --- a/osm_mon/core/common_db.py +++ b/osm_mon/core/common_db.py @@ -74,8 +74,8 @@ class CommonDbClient: for vdur in vnfr['vdur']: if vdur['name'] == vdur_name: return vdur - raise ValueError('vdur not found for nsr-id %s, member_index %s and vdur_name %s', nsr_id, member_index, - vdur_name) + raise ValueError('vdur not found for nsr-id {}, member_index {} and vdur_name {}'.format(nsr_id, member_index, + vdur_name)) def decrypt_vim_password(self, vim_password: str, schema_version: str, vim_id: str): return self.common_db.decrypt(vim_password, schema_version, vim_id)