Skip to content
Browse files

Remove single quotes from node title

  • Loading branch information...
1 parent 5f4b11c commit 866718634c9c41a47931ad14281d68f2b301c4dc Silas Sewell committed Nov 2, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 ZenPacks/zenoss/RabbitMQ/modeler/plugins/zenoss/ssh/RabbitMQ.py
View
4 ZenPacks/zenoss/RabbitMQ/modeler/plugins/zenoss/ssh/RabbitMQ.py
@@ -54,11 +54,11 @@ def process(self, device, results, unused):
for line in command_strings[0].split('\n'):
match = re.search(r'Status of node (\S+)\s', line)
if match:
- node_title = match.group(1)
+ node_title = match.group(1).strip("'")
node_id = prepId(node_title)
nodes.append(ObjectMap(data={
'id': node_id,
- 'title': match.group(1),
+ 'title': node_title,
}))
continue

0 comments on commit 8667186

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