Skip to content

Commit 698950f

Browse files
committed
createDockerRepoIfNeeded error handling
1 parent 706567a commit 698950f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/pipeline/CiCdPipelineOrchestrator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1111,7 +1111,7 @@ func (impl CiCdPipelineOrchestratorImpl) CreateCiConf(createRequest *bean.CiConf
11111111
}
11121112
if !ciPipeline.IsExternal { //pipeline is not [linked, webhook] and overridden, then create template override
11131113
err = impl.createDockerRepoIfNeeded(ciPipeline.DockerConfigOverride.DockerRegistry, ciPipeline.DockerConfigOverride.DockerRepository)
1114-
// silently ignore the error, since we don't want to fail the pipeline creation
1114+
// silently ignoring the error, since we don't want to fail the pipeline creation
11151115
if err != nil {
11161116
impl.logger.Errorw("error, createDockerRepoIfNeeded", "err", err, "dockerRegistryId", ciPipeline.DockerConfigOverride.DockerRegistry, "dockerRegistry", ciPipeline.DockerConfigOverride.DockerRepository)
11171117
}

0 commit comments

Comments
 (0)