mirror of
https://github.com/project-zot/zot.git
synced 2026-06-17 12:58:02 +08:00
feat(storage): rebuild storage(s3/local) dedupe index when switching dedupe status (#1062)
Signed-off-by: Petu Eusebiu <peusebiu@cisco.com>
This commit is contained in:
@@ -91,7 +91,10 @@ func TestMetricsExtension(t *testing.T) {
|
||||
ctlrManager := test.NewControllerManager(ctlr)
|
||||
|
||||
subPaths := make(map[string]config.StorageConfig)
|
||||
subPaths["/a"] = config.StorageConfig{}
|
||||
subPaths["/a"] = config.StorageConfig{
|
||||
Dedupe: false,
|
||||
RootDirectory: t.TempDir(),
|
||||
}
|
||||
|
||||
ctlr.Config.Storage.RootDirectory = globalDir
|
||||
ctlr.Config.Storage.SubPaths = subPaths
|
||||
|
||||
Reference in New Issue
Block a user