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

Unified Diff: logdog/common/viewer/url.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/common/storage/storage.go ('k') | logdog/common/viewer/url_test.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: logdog/common/viewer/url.go
diff --git a/logdog/common/viewer/url.go b/logdog/common/viewer/url.go
index ba6cddca8bc841a1d7f7537ec3ce255a2903b7a2..f54764af0bf9558a1df91a9f4513124915a5cabe 100644
--- a/logdog/common/viewer/url.go
+++ b/logdog/common/viewer/url.go
@@ -10,12 +10,12 @@ import (
"fmt"
"net/url"
- "github.com/luci/luci-go/common/config"
"github.com/luci/luci-go/logdog/common/types"
+ "github.com/luci/luci-go/luci_config/common/cfgtypes"
)
// GetURL generates a LogDog app viewer URL for the specified streams.
-func GetURL(host string, project config.ProjectName, paths ...types.StreamPath) string {
+func GetURL(host string, project cfgtypes.ProjectName, paths ...types.StreamPath) string {
values := make([]string, len(paths))
for i, p := range paths {
values[i] = fmt.Sprintf("%s/%s", project, p)
« no previous file with comments | « logdog/common/storage/storage.go ('k') | logdog/common/viewer/url_test.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698