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

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

Issue 2538203002: LogDog: Add signed GS URL fetching. (Closed)
Patch Set: Allow index signing, use gaesigner. 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 e93c4e1185e10ace3738b0e661bb8b1a230264ea..7717b4a726d06cf136302467da86314c9a5eef1e 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, _ subc
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, _ sub
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