Browse Source

Merge "Use CLI input as react script name"

Jenkins 4 years ago
parent
commit
9c06eb8b49
2 changed files with 1 additions and 1 deletions
  1. 1
    0
      entropy/engine.py
  2. 0
    1
      entropy/examples/repair/react.json

+ 1
- 0
entropy/engine.py View File

@@ -250,6 +250,7 @@ class Engine(object):
250 250
                 self.known_queues.append(message_queue)
251 251
             self._known_routing_keys.add(data['routing_key'])
252 252
             kwargs = data
253
+            kwargs['name'] = script
253 254
             kwargs['conf'] = script_args['cfg']
254 255
             kwargs['exchange'] = self.entropy_exchange
255 256
             kwargs['message_queue'] = message_queue

+ 0
- 1
entropy/examples/repair/react.json View File

@@ -1,5 +1,4 @@
1 1
 {
2
-    "name" : "react",
3 2
     "script": "/home/praneshp/code/entropy/entropy/examples/repair/react",
4 3
     "hostname" : "localhost",
5 4
     "username" : "praneshp",

Loading…
Cancel
Save