Skip to content

Commit

Permalink
HPCC-31122 Remove ZAP 'Log Access plug-in' warning for bare-metal
Browse files Browse the repository at this point in the history
When creating a ZAP report, if Remote Log Access plug-in is not
available, ECLWatch shows a warning: "Warning: may not be able to
include log file because Remote Log Access plug-in is not available!".
Before this PR, the warning shows for both cloud and bare-metal. In
this PR, the warning is removed for bare-metal since the Remote Log
Access interface is not used in bare-metal at the moment.

Signed-off-by: wangkx <[email protected]>
  • Loading branch information
wangkx committed Jan 12, 2024
1 parent 1d8e100 commit f3afd25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esp/services/ws_workunits/ws_workunitsService.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4979,7 +4979,7 @@ bool CWsWorkunitsEx::onWUGetZAPInfo(IEspContext &context, IEspWUGetZAPInfoReques
ipaddr.getHostText(EspIP);
resp.setESPIPAddress(EspIP.str());
}
if ((version >= 1.96) && !queryRemoteLogAccessor())
if ((version >= 1.96) && isContainerized() & !queryRemoteLogAccessor())
resp.setMessage("Warning: may not be able to include log file because Remote Log Access plug-in is not available!");

//Get Archive
Expand Down

0 comments on commit f3afd25

Please sign in to comment.