From 61224659f216b438d7e54f7b9ce2177b7a1453ed Mon Sep 17 00:00:00 2001
From: gbellato <gbellato@localhost>
Date: Thu, 03 Dec 2009 13:14:19 +0000
Subject: [PATCH] Fix for 4382 : invalid monitoring attributes: suppress some whitespace in attribute names in replication monitoring
---
opends/src/server/org/opends/server/replication/server/ReplicationServerDomain.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/opends/src/server/org/opends/server/replication/server/ReplicationServerDomain.java b/opends/src/server/org/opends/server/replication/server/ReplicationServerDomain.java
index be04977..d3d0aa5 100644
--- a/opends/src/server/org/opends/server/replication/server/ReplicationServerDomain.java
+++ b/opends/src/server/org/opends/server/replication/server/ReplicationServerDomain.java
@@ -3014,9 +3014,9 @@
* publish the server id and the port number.
*/
ArrayList<Attribute> attributes = new ArrayList<Attribute>();
- attributes.add(Attributes.create("replication server id",
+ attributes.add(Attributes.create("replication-server-id",
String.valueOf(replicationServer.getServerId())));
- attributes.add(Attributes.create("replication server port",
+ attributes.add(Attributes.create("replication-server-port",
String.valueOf(replicationServer.getReplicationPort())));
/*
--
Gitblit v1.10.0