Skip to content

Commit 988e295

Browse files
committed
Revert "Write a different cache folder per call - to be removed"
This reverts commit d11ccbf.
1 parent 3ec1c9c commit 988e295

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

‎internal/configuration/locations/locations.go‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import (
1010
"os"
1111
"path/filepath"
1212

13-
"github.com/elastic/elastic-package/internal/common"
1413
"github.com/elastic/elastic-package/internal/environment"
1514
)
1615

@@ -95,8 +94,7 @@ func (loc LocationManager) ServiceOutputDir() string {
9594

9695
// CacheDir returns the directory with cached fields
9796
func (loc LocationManager) CacheDir(name string) string {
98-
defaultPath := filepath.Join(loc.stackPath, cacheDir, name)
99-
return filepath.Join(defaultPath, common.CreateTestRunID())
97+
return filepath.Join(loc.stackPath, cacheDir, name)
10098
}
10199

102100
// configurationDir returns the configuration directory location

0 commit comments

Comments
 (0)