Skip to content

Commit 3c62355

Browse files
committed
chore: run the go formatting over the repo
Signed-off-by: Hank Donnay <[email protected]>
1 parent 5ad0d6b commit 3c62355

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

httptransport/common.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,9 @@ import (
1515
"strings"
1616
"sync"
1717

18+
"github.com/quay/claircore"
1819
"github.com/quay/zlog"
1920
"go.opentelemetry.io/otel/trace"
20-
21-
"github.com/quay/claircore"
2221
)
2322

2423
// GetDigest removes the last path element and parses it as a digest.

httptransport/matcher_v1_test.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,14 @@ import (
1313
"time"
1414

1515
"github.com/google/uuid"
16-
"github.com/quay/clair/v4/indexer"
17-
"github.com/quay/clair/v4/internal/httputil"
18-
"github.com/quay/clair/v4/matcher"
1916
"github.com/quay/claircore/libvuln/driver"
2017
"github.com/quay/zlog"
2118
"go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp"
2219
"go.opentelemetry.io/otel/trace"
20+
21+
"github.com/quay/clair/v4/indexer"
22+
"github.com/quay/clair/v4/internal/httputil"
23+
"github.com/quay/clair/v4/matcher"
2324
)
2425

2526
// TestUpdateDiffHandler is a parallel harness for testing a UpdateDiff handler.

internal/httputil/client.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ import (
1212
"strings"
1313
"syscall"
1414

15-
"github.com/quay/clair/v4/cmd"
1615
"golang.org/x/net/publicsuffix"
16+
17+
"github.com/quay/clair/v4/cmd"
1718
)
1819

1920
// NewClient constructs an [http.Client] that disallows access to public

notifier/postgres/notifications.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ import (
1111
"github.com/jackc/pgx/v4/pgxpool"
1212
"github.com/prometheus/client_golang/prometheus"
1313
"github.com/prometheus/client_golang/prometheus/promauto"
14+
"github.com/quay/zlog"
1415

1516
clairerror "github.com/quay/clair/v4/clair-error"
1617
"github.com/quay/clair/v4/notifier"
17-
"github.com/quay/zlog"
1818
)
1919

2020
var (

0 commit comments

Comments
 (0)