diff --git a/internal/pkg/githubapi/github.go b/internal/pkg/githubapi/github.go index 1389f10..80fe974 100644 --- a/internal/pkg/githubapi/github.go +++ b/internal/pkg/githubapi/github.go @@ -277,7 +277,6 @@ func handleChangedPREvent(ctx context.Context, mainGithubClientPair GhClientPair ghPrClientDetails.PrLogger.Debugf("Diff not find affected ArogCD apps") } } - ghPrClientDetails.PrLogger.Infoln("Checking for Drift") err = DetectDrift(ghPrClientDetails) if err != nil { return fmt.Errorf("detecting drift: %w", err) diff --git a/internal/pkg/githubapi/promotion.go b/internal/pkg/githubapi/promotion.go index aac4edb..4d5bbba 100644 --- a/internal/pkg/githubapi/promotion.go +++ b/internal/pkg/githubapi/promotion.go @@ -51,6 +51,7 @@ func contains(s []string, str string) bool { } func DetectDrift(ghPrClientDetails GhPrClientDetails) error { + ghPrClientDetails.PrLogger.Debugln("Checking for Drift") if ghPrClientDetails.Ctx.Err() != nil { return ghPrClientDetails.Ctx.Err() }