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

Unified Diff: logdog/common/storage/archive/storage.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/stream.go ('k') | logdog/common/storage/bigtable/cache.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: logdog/common/storage/archive/storage.go
diff --git a/logdog/common/storage/archive/storage.go b/logdog/common/storage/archive/storage.go
index 425497938fd2532f3e3de0f2627b0327dac7f5d9..deeea3854ff5b35a19da80cff05d9ec20b5cb7e3 100644
--- a/logdog/common/storage/archive/storage.go
+++ b/logdog/common/storage/archive/storage.go
@@ -20,7 +20,6 @@ import (
"sort"
"sync/atomic"
- "github.com/luci/luci-go/common/config"
"github.com/luci/luci-go/common/data/recordio"
"github.com/luci/luci-go/common/errors"
"github.com/luci/luci-go/common/gcloud/gs"
@@ -30,6 +29,7 @@ import (
"github.com/luci/luci-go/logdog/common/storage"
"github.com/luci/luci-go/logdog/common/storage/caching"
"github.com/luci/luci-go/logdog/common/types"
+ "github.com/luci/luci-go/luci_config/common/cfgtypes"
cloudStorage "cloud.google.com/go/storage"
"github.com/golang/protobuf/proto"
@@ -225,7 +225,7 @@ func (s *storageImpl) getLogEntriesIter(st *getStrategy, cb storage.GetCallback)
}
}
-func (s *storageImpl) Tail(project config.ProjectName, path types.StreamPath) (*storage.Entry, error) {
+func (s *storageImpl) Tail(project cfgtypes.ProjectName, path types.StreamPath) (*storage.Entry, error) {
idx, err := s.getIndex()
if err != nil {
return nil, err
« no previous file with comments | « logdog/client/coordinator/stream.go ('k') | logdog/common/storage/bigtable/cache.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698