Skip to content

Commit

Permalink
HPCC-29810 Fix PropTree ownership
Browse files Browse the repository at this point in the history
Signed-off-by: Terrence Asselin <[email protected]>
  • Loading branch information
asselitx committed Oct 23, 2023
1 parent fe1e1fe commit 369ef2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esp/services/ws_esdlconfig/ws_esdlconfigservice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,7 @@ bool CWsESDLConfigEx::onPublishESDLBinding(IEspContext &context, IEspPublishESDL
void setContainerizedEspBindingNameByPort(StringBuffer& espPort, StringBuffer& espBindingName)
{
VStringBuffer xpath("services[@class='esp'][@port='%s']", espPort.str());
Owned<IPropertyTree> process = getGlobalConfigSP()->queryPropTree(xpath);
Owned<IPropertyTree> process = getGlobalConfigSP()->getPropTree(xpath);
if (nullptr == process)
throw makeStringExceptionV(-1, "No ESP process configured for port %s", espPort.str());
const char* applicationType = process->queryProp("@type");
Expand Down

0 comments on commit 369ef2d

Please sign in to comment.