-
Notifications
You must be signed in to change notification settings - Fork 55
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
在ExecuteWorkflowAsync方法中,如果只需要更新main程序,那Upgrade的VersionService.Validate接口返回的结果为空,在处理main程序更新的代码中存在upgradeResp.Body空引用的问题
具体代码:_configInfo.UpdateVersions = upgradeResp.Body.OrderBy(x => x.ReleaseDate).ToList();
关联逻辑块代码如下:
if (_configInfo.IsMainUpdate)
{
_configInfo.UpdateVersions = upgradeResp.Body.OrderBy(x => x.ReleaseDate).ToList();
_configInfo.LastVersion = mainResp.Body.OrderBy(x => x.ReleaseDate).Last().Version;
var failed = CheckFail(_configInfo.LastVersion);
if (failed) return;
}
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working