Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2012)

Unified Diff: appengine/logdog/coordinator/archival.go

Issue 1910633006: LogDog: Support per-namespace expired archival. (Closed) Base URL: https://github.com/luci/luci-go@logdog-coordinator-svcdec
Patch Set: Update another test. Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: appengine/logdog/coordinator/archival.go
diff --git a/appengine/logdog/coordinator/archival.go b/appengine/logdog/coordinator/archival.go
index 931f36a27194f0047ac64566b2c011444a450521..4d0d7bcc8260966c811edd962cb1eb96c3842e75 100644
--- a/appengine/logdog/coordinator/archival.go
+++ b/appengine/logdog/coordinator/archival.go
@@ -58,8 +58,9 @@ func (p *ArchivalParams) PublishTask(c context.Context, ap ArchivalPublisher, ls
path := string(ls.Path())
msg := logdog.ArchiveTask{
- Path: path,
- Key: p.createArchivalKey(path),
+ Project: string(Project(c)),
+ Path: path,
+ Key: p.createArchivalKey(path),
}
if p.SettleDelay > 0 {
msg.SettleDelay = google.NewDuration(p.SettleDelay)
« no previous file with comments | « appengine/gaeauth/server/internal/authdb/authdb_test.go ('k') | appengine/logdog/coordinator/archivalPublisher.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698