summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-08-28 19:22:03 -0500
committerJeff Carr <[email protected]>2025-08-28 19:30:59 -0500
commit9025bf436a22a4209f1df477aee006cfaa96b270 (patch)
treea52e258058953f72ff4b5d46b708ad64ebcf1a1d
parentf171c458aa289182b271909b813545cd837e9a8f (diff)
don't carry around the patchset files anymore
-rw-r--r--doPatchsets.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/doPatchsets.go b/doPatchsets.go
index 9cd6a1f..9ad2395 100644
--- a/doPatchsets.go
+++ b/doPatchsets.go
@@ -111,7 +111,7 @@ func savePatchset(w http.ResponseWriter, msg []byte) error {
now := time.Now()
// timestamp := now.Format("2022.07.18.190545") // 50yr shout out to K&R
timestamp := now.Format("2006.01.02.150405") // bummer. other date doesn't work?
- filename := filepath.Join(LIBDIR, "patchset/", timestamp+".submitted.pb")
+ filename := filepath.Join(LIBDIR, "patchset.archive/", timestamp+".submitted.pb")
regfile, err := os.OpenFile(filename, os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0666)
if err != nil {
log.Info("filename open error:", filename, err)