|
@@ -1582,11 +1582,11 @@ ErrorCodeEnum CRemoteControllerCnn::HandleUpgradePackReq(const CSmartPointer<IPa
|
|
|
auto rc = pClient->Connect();
|
|
|
if (rc == Error_Succeed)
|
|
|
{
|
|
|
- UpgradeMgrService_RegistLocalPack_Req req = {};
|
|
|
- req.strPackFile = strPack;
|
|
|
+ //UpgradeMgrService_RegistLocalPack_Req req = {};
|
|
|
+ //req.strPackFile = strPack;
|
|
|
|
|
|
- UpgradeMgrService_RegistLocalPack_Ans ans = {};
|
|
|
- rc = (*pClient)(EntityResource::getLink().upgradeLink())->RegistLocalPack(req, ans, 10000);
|
|
|
+ //UpgradeMgrService_RegistLocalPack_Ans ans = {};
|
|
|
+ //rc = (*pClient)(EntityResource::getLink().upgradeLink())->RegistLocalPack(req, ans, 10000);
|
|
|
|
|
|
pClient->GetFunction()->CloseSession();
|
|
|
} else {
|
|
@@ -3387,11 +3387,11 @@ ErrorCodeEnum CRemoteControllerCnn::HandleCancelUpgradeReq(const CSmartPointer<I
|
|
|
auto rc = pClient->Connect();
|
|
|
if (rc == Error_Succeed)
|
|
|
{
|
|
|
- UpgradeMgrService_CancelUpdate_Req req = {};
|
|
|
- req.strPackFile = strPack;
|
|
|
+ //UpgradeMgrService_CancelUpdate_Req req = {};
|
|
|
+ //req.strPackFile = strPack;
|
|
|
|
|
|
- UpgradeMgrService_CancelUpdate_Ans ans = {};
|
|
|
- rc = (*pClient)(EntityResource::getLink().upgradeLink())->CancelUpdate(req, ans, 10000);
|
|
|
+ //UpgradeMgrService_CancelUpdate_Ans ans = {};
|
|
|
+ //rc = (*pClient)(EntityResource::getLink().upgradeLink())->CancelUpdate(req, ans, 10000);
|
|
|
|
|
|
pClient->GetFunction()->CloseSession();
|
|
|
} else {
|