From 00202c549dbb56040651dbb2311ea9e93cfc2182 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Pfeuffer?= Date: Thu, 5 Dec 2024 10:24:44 +0100 Subject: [PATCH] Fix import order MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: René Pfeuffer --- applicationset/webhook/webhook.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/applicationset/webhook/webhook.go b/applicationset/webhook/webhook.go index 5cebd981f3b16..20e9b814b9758 100644 --- a/applicationset/webhook/webhook.go +++ b/applicationset/webhook/webhook.go @@ -3,7 +3,6 @@ package webhook import ( "context" "fmt" - scmmanager "github.com/scm-manager/goscm/argocd" "html" "net/http" "net/url" @@ -25,6 +24,7 @@ import ( "github.com/go-playground/webhooks/v6/azuredevops" "github.com/go-playground/webhooks/v6/github" "github.com/go-playground/webhooks/v6/gitlab" + scmmanager "github.com/scm-manager/goscm/argocd" log "github.com/sirupsen/logrus" ) @@ -509,7 +509,7 @@ func shouldRefreshPRGenerator(gen *v1alpha1.PullRequestGenerator, info *prGenera return false } if apiUrl.Hostname() != infoUrl.Hostname() { - log.Debugf("Hostname %s does not match %s", apiUrl.Hostname(), infoUrl.Hostname()) + log.Debugf("Hostname '%s' does not match '%s'", apiUrl.Hostname(), infoUrl.Hostname()) return false } if gen.ScmManager.Namespace != info.SCMManager.Namespace {