Skip to content

Commit be47260

Browse files
committed
Refactor uploadOutputArtifacts() retrieveArtifactPath() logic.
Signed-off-by: agoins <[email protected]>
1 parent dbb6edd commit be47260

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

backend/src/v2/component/launcher_v2.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -629,11 +629,6 @@ func uploadOutputArtifacts(ctx context.Context, executorInput *pipelinespec.Exec
629629

630630
// Upload artifacts from local path to remote storages.
631631
localDir, err := retrieveArtifactPath(outputArtifact)
632-
633-
if outputArtifact.CustomPath != nil {
634-
localDir = *outputArtifact.CustomPath
635-
}
636-
637632
if err != nil {
638633
glog.Warningf("Output Artifact %q does not have a recognized storage URI %q. Skipping uploading to remote storage.", name, outputArtifact.Uri)
639634
} else if !strings.HasPrefix(outputArtifact.Uri, "oci://") {

0 commit comments

Comments
 (0)