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

1
.gitignore vendored
View File

@@ -32,4 +32,5 @@ build/
### VS Code ### ### VS Code ###
.vscode/ .vscode/
/agent-go/output/ /agent-go/output/
/agent-go/vender/
/agent-go/agent-go /agent-go/agent-go

View File

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

View File

@@ -145,6 +145,12 @@ public class HarborFuncScheduler {
String sourceHarborHost = getIPv4Address(); String sourceHarborHost = getIPv4Address();
syncHarborArgList.add(sourceHarborHost); syncHarborArgList.add(sourceHarborHost);
log.info(
"{} start ! args are => {}",
HarborFunctionEnum.SYNC_PROJECT_BETWEEN_HARBOR.getOpName(),
syncHarborArgList
);
boolean syncHarborProjectOk = funcService.callHarborFuncAndJudge( boolean syncHarborProjectOk = funcService.callHarborFuncAndJudge(
masterNode.getTopicName(), masterNode.getTopicName(),
HarborFunctionEnum.SYNC_PROJECT_BETWEEN_HARBOR, HarborFunctionEnum.SYNC_PROJECT_BETWEEN_HARBOR,