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

Unified Diff: logdog/common/storage/archive/logdog_archive_test/main.go

Issue 2538203002: LogDog: Add signed GS URL fetching. (Closed)
Patch Set: Created 4 years 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: logdog/common/storage/archive/logdog_archive_test/main.go
diff --git a/logdog/common/storage/archive/logdog_archive_test/main.go b/logdog/common/storage/archive/logdog_archive_test/main.go
index 5c855eb0d067ce0e83a627527fb03e238bb87082..c6c601e187ce03d28bf39fbfdcd8d568104d80fa 100644
--- a/logdog/common/storage/archive/logdog_archive_test/main.go
+++ b/logdog/common/storage/archive/logdog_archive_test/main.go
@@ -317,9 +317,9 @@ func (cmd *cmdRunGet) Run(baseApp subcommands.Application, args []string) int {
defer client.Close()
stClient, err := archive.New(c, archive.Options{
- IndexURL: cmd.indexPath,
- StreamURL: cmd.streamPath,
- Client: client,
+ Index: gs.Path(cmd.indexPath),
+ Stream: gs.Path(cmd.streamPath),
+ Client: client,
})
if err != nil {
log.WithError(err).Errorf(c, "Failed to create storage client.")
@@ -405,9 +405,9 @@ func (cmd *cmdRunTail) Run(baseApp subcommands.Application, args []string) int {
defer client.Close()
stClient, err := archive.New(c, archive.Options{
- IndexURL: cmd.indexPath,
- StreamURL: cmd.streamPath,
- Client: client,
+ Index: gs.Path(cmd.indexPath),
+ Stream: gs.Path(cmd.streamPath),
+ Client: client,
})
if err != nil {
log.WithError(err).Errorf(c, "Failed to create storage client.")

Powered by Google App Engine
This is Rietveld 408576698