Merge pull request #3173 from adamwg/catalog-no-layers-upstream
catalog: List repositories with no unique layersmaster
						commit
						35b26def43
					
				|  | @ -143,8 +143,8 @@ func handleRepository(fileInfo driver.FileInfo, root, last string, fn func(repoP | |||
| 	repo := filePath[len(root)+1:] | ||||
| 
 | ||||
| 	_, file := path.Split(repo) | ||||
| 	if file == "_layers" { | ||||
| 		repo = strings.TrimSuffix(repo, "/_layers") | ||||
| 	if file == "_manifests" { | ||||
| 		repo = strings.TrimSuffix(repo, "/_manifests") | ||||
| 		if lessPath(last, repo) { | ||||
| 			if err := fn(repo); err != nil { | ||||
| 				return err | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue