From 44089313231b33a65ed5058a5d1c6b1d0637aa38 Mon Sep 17 00:00:00 2001 From: Gokul Singaraju Date: Thu, 19 Apr 2018 22:34:23 -0400 Subject: Add healthcheck api Issue-ID: DCAEGEN2-456 Change-Id: I7455e357e5fb584f644768d33437ef43f53be6e5 Signed-Off-by: Gokul Singaraju --- miss_htbt_service/htbtworker.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'miss_htbt_service/htbtworker.py') diff --git a/miss_htbt_service/htbtworker.py b/miss_htbt_service/htbtworker.py index b81deae..11fa611 100644 --- a/miss_htbt_service/htbtworker.py +++ b/miss_htbt_service/htbtworker.py @@ -251,10 +251,10 @@ def main(args): global mr_url, pol_url, missing_htbt, intvl, intopic, outopic mr_url = get_collector_uri() pol_url = get_policy_uri() - missing_htbt = int(args[2]) - intvl = int(args[3]) - intopic = args[4] - outopic = args[5] + missing_htbt = int(args[1]) + intvl = int(args[2]) + intopic = args[3] + outopic = args[4] print ("Message router url %s " % mr_url) print ("Policy router url %s " % pol_url) print ("Interval %s " % intvl) -- cgit 1.2.3-korg