Merge pull request #1348 from BrianBland/fixCrossRepoBlobMount
Fixes cross-repo blob mounting in the BlobUploadHandlermaster
						commit
						e90578b27d
					
				| 
						 | 
					@ -127,7 +127,7 @@ func (buh *blobUploadHandler) StartBlobUpload(w http.ResponseWriter, r *http.Req
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if mountDigest != "" && fromRepo != "" {
 | 
						if mountDigest != "" && fromRepo != "" {
 | 
				
			||||||
		opt, err := buh.createBlobMountOption(fromRepo, mountDigest)
 | 
							opt, err := buh.createBlobMountOption(fromRepo, mountDigest)
 | 
				
			||||||
		if err != nil {
 | 
							if opt != nil && err == nil {
 | 
				
			||||||
			options = append(options, opt)
 | 
								options = append(options, opt)
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue