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
+1 -1
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}