0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2024-12-16 21:56:37 -05:00

fix(tests): call ImageStore constructor with correct parameters (#1846)

Signed-off-by: Andrei Aaron <aaaron@luxoft.com>
This commit is contained in:
Andrei Aaron 2023-09-23 10:58:58 +03:00 committed by GitHub
parent 1df743f173
commit 6bd7abe28b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -595,7 +595,7 @@ func TestScanGeneratorWithRealData(t *testing.T) {
metaDB, err := boltdb.New(boltDriver, logger)
So(err, ShouldBeNil)
imageStore := local.NewImageStore(rootDir, false, false, 0, 0, false, false,
imageStore := local.NewImageStore(rootDir, false, false,
logger, monitoring.NewMetricsServer(false, logger), nil, nil)
storeController := storage.StoreController{DefaultStore: imageStore}