[ Server ] [ Harbor ] - sync projects - 1

This commit is contained in:
zeaslity
2023-11-14 17:14:08 +08:00
parent 7fd7e093b3
commit 6c06e92240
3 changed files with 8 additions and 0 deletions

View File

@@ -196,6 +196,7 @@ func (hOp *HarborOperator) SyncProjectExec(funcArgs []string) (bool, []string) {
}
sourceClient := hOp.SourceHarborClient
log.DebugF("[Harbor Sync Project ] - start to check projects all exists!")
ctx := context.Background()
// check both source and target harbor project exists