From 0322733914bfcf245289c05473a12455e466ef36 Mon Sep 17 00:00:00 2001 From: Denis Bilenko Date: Mon, 9 Dec 2024 17:54:48 +0100 Subject: [PATCH] Update bundle/config/mutator/load_git_details.go Co-authored-by: Pieter Noordhuis --- bundle/config/mutator/load_git_details.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundle/config/mutator/load_git_details.go b/bundle/config/mutator/load_git_details.go index 5a63f15a..a95e1bd4 100644 --- a/bundle/config/mutator/load_git_details.go +++ b/bundle/config/mutator/load_git_details.go @@ -45,7 +45,7 @@ func (m *loadGitDetails) Apply(ctx context.Context, b *bundle.Bundle) diag.Diagn // In case of branch and commit and absence of --force we raise severity to Error diags = append(diags, checkMatch("Git branch", info.CurrentBranch, &config.Branch, b.Config.Bundle.Force)...) diags = append(diags, checkMatch("Git commit", info.LatestCommit, &config.Commit, b.Config.Bundle.Force)...) - diags = append(diags, checkMatch("Git originURL", info.OriginURL, &config.OriginURL, true)...) + diags = append(diags, checkMatch("Git origin URL", info.OriginURL, &config.OriginURL, true)...) relBundlePath, err := filepath.Rel(b.WorktreeRoot.Native(), b.BundleRoot.Native()) if err != nil {