summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/ServerCache.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IceGrid/ServerCache.cpp')
-rw-r--r--cpp/src/IceGrid/ServerCache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/IceGrid/ServerCache.cpp b/cpp/src/IceGrid/ServerCache.cpp
index 0fc2ca76c5a..7e22eb271e6 100644
--- a/cpp/src/IceGrid/ServerCache.cpp
+++ b/cpp/src/IceGrid/ServerCache.cpp
@@ -103,7 +103,7 @@ ServerCache::update(const ServerInstanceDescriptor& instance)
if(old.node != instance.node)
{
_nodeCache.get(old.node)->removeServer(entry);
- _nodeCache.get(instance.node)->addServer(entry);
+ _nodeCache.get(instance.node, true)->addServer(entry);
}
forEachComponent(AddComponent(*this, entry))(instance);