Skip to content

Commit

Permalink
chore: run the go formatting over the repo
Browse files Browse the repository at this point in the history
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
  • Loading branch information
hdonnay committed Jul 16, 2024
1 parent 5ad0d6b commit 3c62355
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
3 changes: 1 addition & 2 deletions httptransport/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,9 @@ import (
"strings"
"sync"

"github.com/quay/claircore"
"github.com/quay/zlog"
"go.opentelemetry.io/otel/trace"

"github.com/quay/claircore"
)

// GetDigest removes the last path element and parses it as a digest.
Expand Down
7 changes: 4 additions & 3 deletions httptransport/matcher_v1_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,14 @@ import (
"time"

"github.com/google/uuid"
"github.com/quay/clair/v4/indexer"
"github.com/quay/clair/v4/internal/httputil"
"github.com/quay/clair/v4/matcher"
"github.com/quay/claircore/libvuln/driver"
"github.com/quay/zlog"
"go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp"
"go.opentelemetry.io/otel/trace"

"github.com/quay/clair/v4/indexer"
"github.com/quay/clair/v4/internal/httputil"
"github.com/quay/clair/v4/matcher"
)

// TestUpdateDiffHandler is a parallel harness for testing a UpdateDiff handler.
Expand Down
3 changes: 2 additions & 1 deletion internal/httputil/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ import (
"strings"
"syscall"

"github.com/quay/clair/v4/cmd"
"golang.org/x/net/publicsuffix"

"github.com/quay/clair/v4/cmd"
)

// NewClient constructs an [http.Client] that disallows access to public
Expand Down
2 changes: 1 addition & 1 deletion notifier/postgres/notifications.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ import (
"github.com/jackc/pgx/v4/pgxpool"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/promauto"
"github.com/quay/zlog"

clairerror "github.com/quay/clair/v4/clair-error"
"github.com/quay/clair/v4/notifier"
"github.com/quay/zlog"
)

var (
Expand Down

0 comments on commit 3c62355

Please sign in to comment.