Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge pull request #1 from silas/master

Remove single quotes from node name
  • Loading branch information...
commit 9b409a9642950e836e09127b5049872c331d662d 2 parents cbea3da + b4858c8
Chet Luther cluther authored
4 ZenPacks/zenoss/RabbitMQ/modeler/plugins/zenoss/ssh/RabbitMQ.py
@@ -54,11 +54,11 @@ def process(self, device, results, unused):
54 54 for line in command_strings[0].split('\n'):
55 55 match = re.search(r'Status of node (\S+)\s', line)
56 56 if match:
57   - node_title = match.group(1)
  57 + node_title = match.group(1).strip("'")
58 58 node_id = prepId(node_title)
59 59 nodes.append(ObjectMap(data={
60 60 'id': node_id,
61   - 'title': match.group(1),
  61 + 'title': node_title,
62 62 }))
63 63
64 64 continue

0 comments on commit 9b409a9

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