Explorar o código

HPCC-9916 Don't allow setting daliip or sourceCluster at subfile level

Changes based on review.

Signed-off-by: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>
Anthony Fishbeck %!s(int64=11) %!d(string=hai) anos
pai
achega
7243afc20d
Modificáronse 1 ficheiros con 0 adicións e 5 borrados
  1. 0 5
      common/workunit/referencedfilelist.cpp

+ 0 - 5
common/workunit/referencedfilelist.cpp

@@ -428,11 +428,6 @@ void ReferencedFileList::addFiles(StringArray &files)
 
 void ReferencedFileList::addFileFromSubFile(IPropertyTree &subFile, const char *daliip, const char *srcCluster)
 {
-    if (subFile.hasProp("@daliip"))
-        daliip = subFile.queryProp("@daliip");
-    if (subFile.hasProp("@sourceCluster"))
-        srcCluster = subFile.queryProp("@sourceCluster");
-
     addFile(subFile.queryProp("@value"), daliip, srcCluster);
 }