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

Unified Diff: server/internal/logdog/collector/collector.go

Issue 1910923002: LogDog: Add project namespace to service endpoint. (Closed) Base URL: https://github.com/luci/luci-go@logdog-project-coordinator-backend
Patch Set: Comments. 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
« no previous file with comments | « common/logdog/types/streamsecret.go ('k') | server/internal/logdog/collector/collector_test.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: server/internal/logdog/collector/collector.go
diff --git a/server/internal/logdog/collector/collector.go b/server/internal/logdog/collector/collector.go
index 8884c9550ed1042b3e56556d7a85ec68747e181e..923531eeae2eb7af510b271826550d2121ec4aa0 100644
--- a/server/internal/logdog/collector/collector.go
+++ b/server/internal/logdog/collector/collector.go
@@ -231,7 +231,7 @@ func (c *Collector) processLogStream(ctx context.Context, h *bundleEntryHandler)
// TODO: Use timeout?
state, err := c.Coordinator.RegisterStream(ctx, &coordinator.LogStreamState{
Path: h.path,
- Secret: types.StreamSecret(h.be.Secret),
+ Secret: types.PrefixSecret(h.be.Secret),
ProtoVersion: h.md.ProtoVersion,
}, h.be.Desc)
if err != nil {
« no previous file with comments | « common/logdog/types/streamsecret.go ('k') | server/internal/logdog/collector/collector_test.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698