Skip to content

Commit

Permalink
Fix import order
Browse files Browse the repository at this point in the history
Signed-off-by: René Pfeuffer <[email protected]>
  • Loading branch information
pfeuffer committed Dec 5, 2024
1 parent d483457 commit 00202c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions applicationset/webhook/webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package webhook
import (
"context"
"fmt"
scmmanager "github.com/scm-manager/goscm/argocd"
"html"
"net/http"
"net/url"
Expand All @@ -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"
)

Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 00202c5

Please sign in to comment.