Skip to content

Commit

Permalink
Update after review.
Browse files Browse the repository at this point in the history
Signed-off-by: Attila Vamos <[email protected]>
  • Loading branch information
AttilaVamos committed Apr 26, 2024
1 parent ddf7cdf commit 6604efb
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions esp/services/ws_fs/ws_fsService.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1113,12 +1113,16 @@ bool CFileSprayEx::onGetDFUWorkunits(IEspContext &context, IEspGetDFUWorkunits &

Owned<IEspDFUWorkunit> resultWU = createDFUWorkunit("", "");
resultWU->setID(wu->queryId());
StringBuffer jobname, user, cluster, cmdStr;
StringBuffer jobname, user, cluster;
resultWU->setJobName(wu->getJobName(jobname).str());
DFUcmd command = wu->getCommand();
resultWU->setCommand(command);
encodeDFUcommand(command, cmdStr);
resultWU->setCommandMessage(cmdStr.str());
if ( version >=1.03 )
{
StringBuffer cmdStr;
encodeDFUcommand(command, cmdStr);
resultWU->setCommandMessage(cmdStr.str());
}
resultWU->setUser(wu->getUser(user).str());

const char* clusterName = wu->getClusterName(cluster).str();
Expand Down

0 comments on commit 6604efb

Please sign in to comment.