From fc6fd29f3ff8f2ef3b5fec981a8a9adbf18e5493 Mon Sep 17 00:00:00 2001 From: Pulkit Aggarwal <112526570+pulkitanz@users.noreply.github.com> Date: Tue, 10 Jan 2023 04:17:30 +1100 Subject: [PATCH] Fix GitUrl Return (#987) Co-authored-by: ahrav --- pkg/giturl/giturl.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/giturl/giturl.go b/pkg/giturl/giturl.go index 0c5fd4544..a4f1c49c1 100644 --- a/pkg/giturl/giturl.go +++ b/pkg/giturl/giturl.go @@ -12,7 +12,7 @@ func NormalizeBitbucketRepo(repoURL string) (string, error) { return "", errors.New("Bitbucket requires https repo urls: e.g. https://bitbucket.org/org/repo.git") } - return NormalizeOrgRepoURL("Gitlab", repoURL) + return NormalizeOrgRepoURL("Bitbucket", repoURL) } func NormalizeGerritProject(project string) (string, error) {