Skip to content
This repository
Browse code

Ensure epum service name is set

  • Loading branch information...
commit fe7afce4eff2fa60f19ae5e6f39c4114aff046f1 1 parent 7b01b7e
Patrick Armstrong authored April 27, 2012

Showing 1 changed file with 5 additions and 1 deletion. Show diff stats Hide diff stats

  1. 6  epuharness/harness.py
6  epuharness/harness.py
@@ -198,11 +198,14 @@ def _build_epum_config(self, name, exchange, config, logfile=None):
198 198
             logfile = os.path.join(self.logdir, "%s.log" % name)
199 199
 
200 200
         default = {
201  
-          "server":{
  201
+          'server':{
202 202
             'amqp':{
203 203
               'exchange': exchange
204 204
             }
205 205
           },
  206
+          'epumanagement':{
  207
+            'service_name': name,
  208
+          },
206 209
           'logging': {
207 210
             'loggers': {
208 211
               'epumanagement': {
@@ -218,6 +221,7 @@ def _build_epum_config(self, name, exchange, config, logfile=None):
218 221
               'handlers': ['file', 'console']
219 222
             }
220 223
           }
  224
+
221 225
         }
222 226
 
223 227
         merged_config = dict_merge(default, config)

0 notes on commit fe7afce

Please sign in to comment.
Something went wrong with that request. Please try again.