Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(574)

Unified Diff: environs/interface.go

Issue 8545045: environs/ec2: retry s3 Put requests
Patch Set: environs/ec2: retry s3 Put requests Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: environs/interface.go
=== modified file 'environs/interface.go'
--- environs/interface.go 2013-04-08 10:20:19 +0000
+++ environs/interface.go 2013-04-11 17:49:37 +0000
@@ -108,7 +108,9 @@
type StorageWriter interface {
// Put reads from r and writes to the given storage file.
// The length must give the total length of the file.
- Put(name string, r io.Reader, length int64) error
+ // The seek position of r must be set to the beginning of the
+ // data.
+ Put(name string, r io.ReadSeeker, length int64) error
// Remove removes the given file from the environment's
// storage. It should not return an error if the file does

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b