commit | b634d90bd9e6e5255d62dda00c58c30cb61a2253 | [log] [tgz] |
---|---|---|
author | alshabib <alshabibi.ali@gmail.com> | Mon Jan 16 13:10:17 2017 -0600 |
committer | alshabib <alshabibi.ali@gmail.com> | Mon Jan 16 13:11:35 2017 -0600 |
tree | 6a95f8dbdfc5b2b88a322fa7e3af9af653773140 | |
parent | b5d72f13fa5cb73024fc9857effde5875695d3b4 [diff] |
enabling dumb-init for shovel Change-Id: I6bb546c21866f4b6d8f1095079f288945080396d
diff --git a/common/utils/consulhelpers.py b/common/utils/consulhelpers.py index 2f1efd8..a828b3f 100644 --- a/common/utils/consulhelpers.py +++ b/common/utils/consulhelpers.py
@@ -40,6 +40,7 @@ if len(services) == 0: raise Exception( 'Cannot find service {} in consul'.format(service_name)) + os.exit(1) # pick a random entry # TODO should we prefer local IP addresses? Probably.