diff options
Diffstat (limited to 'miss_htbt_service/db_monitoring.py')
-rw-r--r-- | miss_htbt_service/db_monitoring.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/miss_htbt_service/db_monitoring.py b/miss_htbt_service/db_monitoring.py index 3de43e3..fd00f8a 100644 --- a/miss_htbt_service/db_monitoring.py +++ b/miss_htbt_service/db_monitoring.py @@ -207,7 +207,7 @@ def db_monitoring(current_pid,json_file,user_name,password,ip_address,port_num,d cur.execute(update_query) connection_db.commit() - else: + else: #pragma: no cover msg="DBM:DB Monitoring is ignored for %s since validity flag is 0" %(event_name) _logger.info(msg) @@ -219,7 +219,7 @@ def db_monitoring(current_pid,json_file,user_name,password,ip_address,port_num,d """ Delete the VNF entry in table1 and delete all the source ids related to vnfs in table2 """ - else: + else: #pragma: no cover msg="DBM:Inactive instance or hb_common state is not RUNNING" _logger.info(msg) pm.commit_and_close_db(connection_db) |