forked from TrueCloudLab/distribution
Fix goimports
Separate fix for cherry-picked code Signed-off-by: Derek McGowan <derek@mcgstyle.net>
This commit is contained in:
parent
74d442a058
commit
495a4af7cf
2 changed files with 5 additions and 4 deletions
5
registry/storage/cache/metrics/prom.go
vendored
5
registry/storage/cache/metrics/prom.go
vendored
|
@ -2,12 +2,13 @@ package metrics
|
|||
|
||||
import (
|
||||
"context"
|
||||
"time"
|
||||
|
||||
"github.com/docker/distribution"
|
||||
prometheus "github.com/docker/distribution/metrics"
|
||||
"github.com/docker/distribution/registry/storage/cache"
|
||||
"github.com/docker/go-metrics"
|
||||
"github.com/opencontainers/go-digest"
|
||||
prometheus "github.com/docker/distribution/metrics"
|
||||
"time"
|
||||
)
|
||||
|
||||
type prometheusCacheProvider struct {
|
||||
|
|
2
registry/storage/cache/redis/redis.go
vendored
2
registry/storage/cache/redis/redis.go
vendored
|
@ -3,11 +3,11 @@ package redis
|
|||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"github.com/docker/distribution/registry/storage/cache/metrics"
|
||||
|
||||
"github.com/docker/distribution"
|
||||
"github.com/docker/distribution/reference"
|
||||
"github.com/docker/distribution/registry/storage/cache"
|
||||
"github.com/docker/distribution/registry/storage/cache/metrics"
|
||||
"github.com/garyburd/redigo/redis"
|
||||
"github.com/opencontainers/go-digest"
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue