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

Unified Diff: logdog/server/archivist/storageSource.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/server/archivist/archivist_test.go ('k') | logdog/server/cmd/logdog_archivist/main.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: logdog/server/archivist/storageSource.go
diff --git a/logdog/server/archivist/storageSource.go b/logdog/server/archivist/storageSource.go
index 0f85a7a2d578065eeeab6351c0657d5d55d35d8a..3c8f33cd2696d4769085b4789f2b519fed865a7d 100644
--- a/logdog/server/archivist/storageSource.go
+++ b/logdog/server/archivist/storageSource.go
@@ -7,11 +7,11 @@ package archivist
import (
"io"
- "github.com/luci/luci-go/common/config"
log "github.com/luci/luci-go/common/logging"
"github.com/luci/luci-go/logdog/api/logpb"
"github.com/luci/luci-go/logdog/common/storage"
"github.com/luci/luci-go/logdog/common/types"
+ "github.com/luci/luci-go/luci_config/common/cfgtypes"
"golang.org/x/net/context"
)
@@ -20,10 +20,10 @@ import (
type storageSource struct {
context.Context
- st storage.Storage // the storage instance to read from
- project config.ProjectName // the path of the log stream
- path types.StreamPath // the path of the log stream
- terminalIndex types.MessageIndex // if >= 0, discard logs beyond this
+ st storage.Storage // the storage instance to read from
+ project cfgtypes.ProjectName // the path of the log stream
+ path types.StreamPath // the path of the log stream
+ terminalIndex types.MessageIndex // if >= 0, discard logs beyond this
buf []*logpb.LogEntry
lastIndex types.MessageIndex
« no previous file with comments | « logdog/server/archivist/archivist_test.go ('k') | logdog/server/cmd/logdog_archivist/main.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698