mirror of
https://github.com/project-zot/zot.git
synced 2026-06-16 20:38:08 +08:00
storage: different subpaths can point to same root directory
currently different subpaths can only point to same root directory only when one or both of the storage config does not enable dedupe different subpath should be able to point to same root directory and in that case their storage config should be same i.e GC,Dedupe, GC delay and GC interval Signed-off-by: Shivam Mishra <shimish2@cisco.com>
This commit is contained in:
committed by
Ramkumar Chinchani
parent
3bccea7aa2
commit
6c293719e3
@@ -286,8 +286,6 @@ func TestORAS(t *testing.T) {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
fmt.Println(fileDir)
|
||||
|
||||
srcURL := strings.Join([]string{sctlr.Server.Addr, "/oras-artifact:v2"}, "")
|
||||
|
||||
cmd = exec.Command("oras", "push", "--plain-http", srcURL, "--config",
|
||||
@@ -1220,7 +1218,9 @@ func TestBasicAuth(t *testing.T) {
|
||||
},
|
||||
}
|
||||
|
||||
destConfig.Storage.RootDirectory = destDir
|
||||
rootDir := t.TempDir()
|
||||
|
||||
destConfig.Storage.RootDirectory = rootDir
|
||||
|
||||
regex := ".*"
|
||||
var semver bool
|
||||
|
||||
Reference in New Issue
Block a user