Cleaning up TODO items
removing TODO on line 162 of chameleon/grpc_client
and entering it into backlog as CORD-815
removing TODO on line 135 of cli/utils.py
and entering it into backlog as CORD-816
removing TODO on line 155 of cli/utils.py
and entering it into backlog as CORD-817
removing TODO on line 94 of common/utils/consulhelpers.py
and entering it into backlog as CORD-818
Change-Id: I736ea678b16c9b0e85a3cf0aabe96da19caae64d
diff --git a/common/utils/consulhelpers.py b/common/utils/consulhelpers.py
index 3efc7b9..95e6f5b 100644
--- a/common/utils/consulhelpers.py
+++ b/common/utils/consulhelpers.py
@@ -91,8 +91,8 @@
'Cannot find service {} in consul'.format(service_name))
os.exit(1)
- # pick a random entry
- # TODO should we prefer local IP addresses? Probably.
+ # pick local addresses when resolving a service via consul
+ # see CORD-818 (https://jira.opencord.org/browse/CORD-818)
service = services[randint(0, len(services) - 1)]
endpoint = '{}:{}'.format(service['ServiceAddress'],