Skip to content

Commit

Permalink
Merge pull request #953 from HeavyWombat/fix/git-rewrite-flag-issue
Browse files Browse the repository at this point in the history
Fix incorrect flag name
  • Loading branch information
openshift-merge-robot authored Dec 1, 2021
2 parents 06c7d08 + 2779fff commit dc719a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/reconciler/buildrun/resources/sources/git.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func AppendGitStep(

// If configure, use Git URL rewrite flag
if cfg.GitRewriteRule {
gitStep.Container.Args = append(gitStep.Container.Args, "--git-url-rewrite-rule")
gitStep.Container.Args = append(gitStep.Container.Args, "--git-url-rewrite")
}

if source.Credentials != nil {
Expand Down

0 comments on commit dc719a7

Please sign in to comment.