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

Unified Diff: common/api/logdog_coordinator/registration/v1/util.go

Issue 1970823005: LogDog: Add prefix registration endpoint. (Closed) Base URL: https://github.com/luci/luci-go@logdog-project-archivist-useconfig
Patch Set: Created 4 years, 7 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: common/api/logdog_coordinator/registration/v1/util.go
diff --git a/client/flagpb/generate.go b/common/api/logdog_coordinator/registration/v1/util.go
similarity index 52%
copy from client/flagpb/generate.go
copy to common/api/logdog_coordinator/registration/v1/util.go
index c1ac8825d92267dc47251c4a741c15c93a9154d5..1707be75f9168502e5b495f6294901a79ec81ff9 100644
--- a/client/flagpb/generate.go
+++ b/common/api/logdog_coordinator/registration/v1/util.go
@@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-package flagpb
+package logdog
-//go:generate cproto -desc=unmarshal_test.desc
+// GetMessageProject implements ProjectBoundMessage.
+func (req *RegisterPrefixRequest) GetMessageProject() string { return req.Project }

Powered by Google App Engine
This is Rietveld 408576698