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

Unified Diff: logdog/client/coordinator/query.go

Issue 2626433004: Move "common/config" common types into cfgtypes. (Closed)
Patch Set: Created 3 years, 11 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 | « logdog/client/coordinator/list.go ('k') | logdog/client/coordinator/query_test.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: logdog/client/coordinator/query.go
diff --git a/logdog/client/coordinator/query.go b/logdog/client/coordinator/query.go
index a7d528fbc16bc76080190ba7eebec74dea983db5..248ba25e2cd2c5ae3e1215e6875c8ad3d6c5316b 100644
--- a/logdog/client/coordinator/query.go
+++ b/logdog/client/coordinator/query.go
@@ -8,11 +8,11 @@ import (
"fmt"
"time"
- "github.com/luci/luci-go/common/config"
"github.com/luci/luci-go/common/proto/google"
"github.com/luci/luci-go/logdog/api/endpoints/coordinator/logs/v1"
"github.com/luci/luci-go/logdog/api/logpb"
"github.com/luci/luci-go/logdog/common/types"
+ "github.com/luci/luci-go/luci_config/common/cfgtypes"
"golang.org/x/net/context"
)
@@ -126,7 +126,7 @@ type QueryCallback func(r *LogStream) bool
// first value is "foo" and whose name is "baz".
// - foo/bar will return all streams whose name is "foo/bar".
// - */* will return all streams with two-component names.
-func (c *Client) Query(ctx context.Context, project config.ProjectName, path string, o QueryOptions, cb QueryCallback) error {
+func (c *Client) Query(ctx context.Context, project cfgtypes.ProjectName, path string, o QueryOptions, cb QueryCallback) error {
req := logdog.QueryRequest{
Project: string(project),
Path: path,
« no previous file with comments | « logdog/client/coordinator/list.go ('k') | logdog/client/coordinator/query_test.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698