From bf0ef9eabf657988960dfeb4e57e4d2f713d65dd Mon Sep 17 00:00:00 2001 From: Denis Bilenko Date: Mon, 9 Dec 2024 16:49:45 +0100 Subject: [PATCH] Revert "tmp - debuggin issue on CI" This reverts commit e5a85e9e6dfb9ac2b15dd4ce409fea16d3728780. --- bundle/config/mutator/load_git_details.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/bundle/config/mutator/load_git_details.go b/bundle/config/mutator/load_git_details.go index e03a629ed..5a63f15ab 100644 --- a/bundle/config/mutator/load_git_details.go +++ b/bundle/config/mutator/load_git_details.go @@ -22,8 +22,6 @@ func (m *loadGitDetails) Name() string { } func (m *loadGitDetails) Apply(ctx context.Context, b *bundle.Bundle) diag.Diagnostics { - fmt.Printf("running loadGitDetails config=%v\n", b.Config.Bundle.Git) - var diags diag.Diagnostics info, err := git.FetchRepositoryInfo(ctx, b.BundleRoot.Native(), b.WorkspaceClient()) if err != nil { @@ -40,10 +38,7 @@ func (m *loadGitDetails) Apply(ctx context.Context, b *bundle.Bundle) diag.Diagn config.ActualBranch = info.CurrentBranch if config.Branch == "" { - fmt.Printf("setting inferred config=%v info=%v\n", *config, info) config.Inferred = true - } else { - fmt.Printf("NOT setting inferred config=%v info=%v\n", *config, info) } // The value from config takes precedence; however, we always warn if configValue and fetchedValue disagree. @@ -64,7 +59,6 @@ func (m *loadGitDetails) Apply(ctx context.Context, b *bundle.Bundle) diag.Diagn } func checkMatch(field, fetchedValue string, configValue *string, allowedToMismatch bool) []diag.Diagnostic { - fmt.Printf("checkMatch %s %s %s %v\n", field, fetchedValue, *configValue, allowedToMismatch) if fetchedValue == "" { return nil }