aboutsummaryrefslogtreecommitdiffstats
path: root/miss_htbt_service/misshtbtd.py
diff options
context:
space:
mode:
Diffstat (limited to 'miss_htbt_service/misshtbtd.py')
-rw-r--r--miss_htbt_service/misshtbtd.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/miss_htbt_service/misshtbtd.py b/miss_htbt_service/misshtbtd.py
index 23d4835..1b96f38 100644
--- a/miss_htbt_service/misshtbtd.py
+++ b/miss_htbt_service/misshtbtd.py
@@ -126,6 +126,7 @@ def create_update_hb_common(update_flg, process_id, state, user_name, password,
heartbeat.commit_and_close_db(connection_db)
cur.close()
+
def db_table_creation_check(connection_db, table_name):
cur = connection_db.cursor()
try:
@@ -141,7 +142,8 @@ def db_table_creation_check(connection_db, table_name):
_logger.error(msg)
finally:
cur.close()
-
+
+
def create_update_vnf_table_1(jsfile, update_db, connection_db):
with open(jsfile, "r") as outfile:
cfg = json.load(outfile)
@@ -375,7 +377,6 @@ def create_process(job_list, jsfile, pid_current):
return job_list
-
def main():
get_logger.configure_logger("misshtbtd")
pid_current = os.getpid()