浏览代码

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 年之前
父节点
当前提交
97eff2096b
共有 1 个文件被更改,包括 1 次插入1 次删除
  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);