Browse Source

Merge pull request #2076 from afishbeck/assign_vip

Fix missing assignment causing WsEcl to not use configured VIP

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 13 years ago
parent
commit
97eff2096b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      esp/services/ws_ecl/ws_ecl_service.cpp

+ 1 - 1
esp/services/ws_ecl/ws_ecl_service.cpp

@@ -231,7 +231,7 @@ bool CWsEclService::init(const char * name, const char * type, IPropertyTree * c
         StringBuffer list;
         const char *vip = NULL;
         if (vips)
-            vips->queryProp(xpath.clear().appendf("ProcessCluster[@name='%s']/@vip", name).str());
+            vip = vips->queryProp(xpath.clear().appendf("ProcessCluster[@name='%s']/@vip", name).str());
         if (vip && *vip)
         {
             list.append(vip);