fix: 解决同步状态不准确的 BUG

This commit is contained in:
zhengkunwang223
2023-02-21 15:20:36 +08:00
committed by zhengkunwang223
parent 574f8cc060
commit fd4e9ef3be
+1
View File
@@ -86,6 +86,7 @@ func (a AppInstallService) CheckExist(key string) (*response.AppInstalledCheck,
if err := syncById(appInstall.ID); err != nil {
return nil, err
}
appInstall, _ = appInstallRepo.GetFirst(commonRepo.WithByID(appInstall.ID))
res.ContainerName = appInstall.ContainerName
res.Name = appInstall.Name