[Cmii][ImageSync] - DCU part modified
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user