Skip to content

Commit

Permalink
support getting the publish package by group name in addTaskReq
Browse files Browse the repository at this point in the history
  • Loading branch information
stanleyzhu(朱宏伟) committed Jun 24, 2019
1 parent d11d164 commit ff882da
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions AdminRegistryServer/ExecuteTask.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -209,13 +209,15 @@ EMTaskItemStatus TaskList::patch(const TaskItemReq &req, string &log)

string patchId = get("patch_id", req.parameters);
string patchType = get("patch_type", req.parameters);
string groupName = get("group_name", req.parameters);

tars::PatchRequest patchReq;
patchReq.appname = req.application;
patchReq.servername = req.serverName;
patchReq.nodename = req.nodeName;
patchReq.version = patchId;
patchReq.user = req.userName;
patchReq.groupname = groupName;

try
{
Expand Down

0 comments on commit ff882da

Please sign in to comment.