[client] Restrict debug bundle log path and upload destinations (#6975)

This commit is contained in:
Viktor Liu
2026-07-31 19:12:56 +02:00
committed by GitHub
parent f51fadf8d4
commit feecb993f4
24 changed files with 976 additions and 73 deletions
+1 -1
View File
@@ -97,7 +97,7 @@ func runAddRotatedLogFilesPrefix(t *testing.T, dir, prefix string, logFileCount
archive: zip.NewWriter(&buf),
logFileCount: logFileCount,
}
g.addRotatedLogFiles(dir, prefix)
g.addRotatedLogFiles(openLogFile, dir, prefix)
require.NoError(t, g.archive.Close())
zr, err := zip.NewReader(bytes.NewReader(buf.Bytes()), int64(buf.Len()))