mirror of
https://github.com/distribution/distribution.git
synced 2025-08-31 06:34:11 +00:00
hot fix display in parallel pull and go fmt
This commit is contained in:
@@ -162,7 +162,6 @@ func (r *Registry) GetRemoteHistory(imgID, registry string, token []string) ([]s
|
||||
// Check if an image exists in the Registry
|
||||
func (r *Registry) LookupRemoteImage(imgID, registry string, token []string) bool {
|
||||
|
||||
|
||||
req, err := r.reqFactory.NewRequest("GET", registry+"images/"+imgID+"/json", nil)
|
||||
if err != nil {
|
||||
return false
|
||||
|
@@ -343,4 +343,4 @@ func TestWait(t *testing.T) {
|
||||
<-c
|
||||
}
|
||||
|
||||
//*/
|
||||
//*/
|
||||
|
Reference in New Issue
Block a user