From 6fa0b021682d98ef9f908dfa248985a8507c6fa0 Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Mon, 17 Sep 2007 15:43:08 +0000
Subject: [PATCH] Implement a new configuration definition called "TopCfgDefn" which acts as the parent of all other configuration definitions. This is analogous to the the "top" object class in LDAP.
---
opends/src/server/org/opends/server/tools/dsconfig/HelpSubCommandHandler.java | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/opends/src/server/org/opends/server/tools/dsconfig/HelpSubCommandHandler.java b/opends/src/server/org/opends/server/tools/dsconfig/HelpSubCommandHandler.java
index 8450e4b..88b5e82 100644
--- a/opends/src/server/org/opends/server/tools/dsconfig/HelpSubCommandHandler.java
+++ b/opends/src/server/org/opends/server/tools/dsconfig/HelpSubCommandHandler.java
@@ -757,7 +757,7 @@
AbstractManagedObjectDefinition<?, ?> d) {
// Determine the definition's base name.
AbstractManagedObjectDefinition<?, ?> parent = d;
- while (parent.getParent() != null) {
+ while (!parent.getParent().isTop()) {
parent = parent.getParent();
}
--
Gitblit v1.10.0