Skip to content

Commit

Permalink
fix(plugin): move flag to the right place (#7188)
Browse files Browse the repository at this point in the history
  • Loading branch information
sguiheux authored Oct 28, 2024
1 parent 4646ba3 commit 5e7c805
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/integrations/artifactory/artifactory.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ func PromoteFile(artiClient artifact_manager.ArtifactManager, data FileToPromote
if nbFailed > 0 || nbSuccess == 0 {
return hasBeenPromoted, fmt.Errorf("%s: copy failed with no reason", data.Name)
}
hasBeenPromoted = true
}
hasBeenPromoted = true
} else {
fmt.Printf("%s already exists on destination repository\n", data.Name)
}
Expand Down

0 comments on commit 5e7c805

Please sign in to comment.