diff options
Diffstat (limited to 'cpp/src/IceBox/ServiceManagerI.cpp')
-rw-r--r-- | cpp/src/IceBox/ServiceManagerI.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/cpp/src/IceBox/ServiceManagerI.cpp b/cpp/src/IceBox/ServiceManagerI.cpp index 207c6a61f00..721aacdf695 100644 --- a/cpp/src/IceBox/ServiceManagerI.cpp +++ b/cpp/src/IceBox/ServiceManagerI.cpp @@ -62,11 +62,7 @@ IceBox::ServiceManagerI::start() ObjectAdapterPtr adapter = _communicator->createObjectAdapter("IceBox.ServiceManager"); PropertiesPtr properties = _communicator->getProperties(); - string identity = properties->getProperty("IceBox.ServiceManager.Identity"); - if(identity.empty()) - { - identity = properties->getPropertyWithDefault("IceBox.InstanceName", "IceBox") + "/ServiceManager"; - } + string identity = properties->getPropertyWithDefault("IceBox.InstanceName", "IceBox") + "/ServiceManager"; adapter->add(obj, _communicator->stringToIdentity(identity)); // |