From c2ad006a191fe6557839f0768e4a29c382db79e0 Mon Sep 17 00:00:00 2001 From: CityFun <31820853+zhengkunwang223@users.noreply.github.com> Date: Fri, 8 Aug 2025 16:59:35 +0800 Subject: [PATCH] fix: Resolve the issue of missing tags in the synchronized app store (#9913) --- agent/app/service/app.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agent/app/service/app.go b/agent/app/service/app.go index 615f6438d..133f54651 100644 --- a/agent/app/service/app.go +++ b/agent/app/service/app.go @@ -1075,7 +1075,7 @@ func (a AppService) SyncAppListFromRemote(taskID string) (err error) { tagId, ok := tagMap[tag] if ok { exist, _ := appTagRepo.GetFirst(ctx, appTagRepo.WithByTagID(tagId), appTagRepo.WithByAppID(app.ID)) - if exist != nil { + if exist == nil { appTags = append(appTags, &model.AppTag{ AppId: app.ID, TagId: tagId,