[Cmii][ImageSync] - DCU part modified

This commit is contained in:
zeaslity
2024-04-11 10:36:19 +08:00
parent b840f0051e
commit 955db8bbd8
5 changed files with 24 additions and 25 deletions

View File

@@ -58,14 +58,14 @@ func TestPullFromEntityAndSyncConditionally(t *testing.T) {
ProjectVersion: "",
DirectHarborHost: "",
CompressImageToGzip: false,
UploadToDemoMinio: false,
UploadToDemoMinio: true,
ShouldDirectPushToHarbor: false,
}
// 调用函数并获取结果。这里需要根据你的实际需求来验证返回的结果是否符合预期。
result := sync.PullFromEntityAndSyncConditionally()
utils.BeautifulPrint(sync)
utils.BeautifulPrint(result)
// 添加断言以检查函数的输出,例如:
if len(result.ErrorPullImageList) != 0 {