Fix goimports
Separate fix for cherry-picked code Signed-off-by: Derek McGowan <derek@mcgstyle.net>master
							parent
							
								
									74d442a058
								
							
						
					
					
						commit
						495a4af7cf
					
				|  | @ -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 { | ||||
|  | @ -65,4 +66,4 @@ func (p *prometheusCacheProvider) RepositoryScoped(repo string) (distribution.Bl | |||
| 		s, | ||||
| 		p.latencyTimer, | ||||
| 	}, nil | ||||
| } | ||||
| } | ||||
|  |  | |||
|  | @ -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 New Issue