We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8d96a7b + 57d0c5d commit d7269dcCopy full SHA for d7269dc
persist/storer.go
@@ -95,6 +95,12 @@ func TmpPath(tempDir, integrationName string) string {
95
// "nr-integrations" as a subfolder, Linux example: "/tmp/nr-integrations"
96
func tmpIntegrationDir(tempDir string) string {
97
dir := tempDir
98
+
99
+ legacyCachePath := os.Getenv("NRIA_CACHE_PATH")
100
+ if legacyCachePath != "" {
101
+ tempDir = legacyCachePath
102
+ }
103
104
if tempDir == "" {
105
tempDir = os.TempDir()
106
dir = filepath.Join(tempDir, integrationsDir)
0 commit comments