fix log error to debug
Change-Id: I4c13159137a77b314f745699fdd4b5733b41b319
Issue-ID: VFC-1158
Signed-off-by: maopengzhang <zhang.maopeng1@zte.com.cn>
logger.info('Rollback resource complete')
def do_notify_delete(self, res_type, res_id):
logger.info('Rollback resource complete')
def do_notify_delete(self, res_type, res_id):
- logger.error('Deleting [%s] resource, resourceid [%s]' % (res_type, res_id))
+ logger.debug('Deleting [%s] resource, resourceid [%s]' % (res_type, res_id))
resource_type = RESOURCE_MAP.keys()[RESOURCE_MAP.values().index(res_type)]
resource_table = globals().get(resource_type + 'InstModel')
resource_table.objects.filter(instid=self.nf_inst_id, resourceid=res_id).delete()
resource_type = RESOURCE_MAP.keys()[RESOURCE_MAP.values().index(res_type)]
resource_table = globals().get(resource_type + 'InstModel')
resource_table.objects.filter(instid=self.nf_inst_id, resourceid=res_id).delete()