summaryrefslogtreecommitdiffstats
path: root/src/sbin/StatReports
diff options
context:
space:
mode:
Diffstat (limited to 'src/sbin/StatReports')
-rw-r--r--src/sbin/StatReports2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sbin/StatReports b/src/sbin/StatReports
index 60f94aeb9..f82f69a32 100644
--- a/src/sbin/StatReports
+++ b/src/sbin/StatReports
@@ -229,7 +229,7 @@ if __name__ == '__main__':
nodel.append(hostinfo)
for nod in statsdata.findall("Node"):
- if nod.get("name") == client.get("name") or "%s." % nod.get('name') in client.get('name'):
+ if client.get('name').find(nod.get('name')) == 0:
for statel in nod.findall("Statistics"):
nodel.append(statel)
nodereport.append(nodel)