Skip to content

Commit

Permalink
HPCC-31047 Ensure _remoteStoragePlane is not copied
Browse files Browse the repository at this point in the history
When performing a DFU file copy, _remoteStoragePlane should not
be copied from the source file descriptor.

Signed-off-by: Jake Smith <jake.smith@lexisnexisrisk.com>
  • Loading branch information
jakesmith committed Dec 22, 2023
1 parent 164df4f commit 89fbd63
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dali/ft/filecopy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3692,7 +3692,8 @@ void FileSprayer::updateTargetProperties()
ForEach(*iter)
{
const char *aname = iter->query().queryName();
if (stricmp(aname, "Protect") != 0)
if (!(strieq(aname, "Protect")||
strieq(aname, "_remoteStoragePlane")))
curProps.addPropTree(aname, createPTreeFromIPT(&iter->query()));
}

Expand Down

0 comments on commit 89fbd63

Please sign in to comment.