aboutsummaryrefslogtreecommitdiffstats
path: root/miss_htbt_service/htbtworker.py
diff options
context:
space:
mode:
authorGokul Singaraju <gs244f@att.com>2018-04-19 22:34:23 -0400
committerGokul Singaraju <gs244f@att.com>2018-04-19 22:37:50 -0400
commit44089313231b33a65ed5058a5d1c6b1d0637aa38 (patch)
treedaa5a26bc8ebe5f41cec2402f32d6043c9070872 /miss_htbt_service/htbtworker.py
parent042bc21ea4af4c8e5ee4cbbb0e3d0c89a70b7b8e (diff)
Add healthcheck api
Issue-ID: DCAEGEN2-456 Change-Id: I7455e357e5fb584f644768d33437ef43f53be6e5 Signed-Off-by: Gokul Singaraju <gs244f@att.com>
Diffstat (limited to 'miss_htbt_service/htbtworker.py')
-rw-r--r--miss_htbt_service/htbtworker.py8
1 files changed, 4 insertions, 4 deletions
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)