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

Unified Diff: environs/jujutest/livetests.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/jujutest/livetests.go
=== modified file 'environs/jujutest/livetests.go'
--- environs/jujutest/livetests.go 2013-04-08 15:27:15 +0000
+++ environs/jujutest/livetests.go 2013-04-11 17:49:37 +0000
@@ -786,5 +786,5 @@
if err != nil {
return err
}
- return target.Put(targetPath, &buf, int64(buf.Len()))
+ return target.Put(targetPath, bytes.NewReader(buf.Bytes()), int64(buf.Len()))
}
« environs/ec2/storage.go ('K') | « environs/interface.go ('k') | environs/jujutest/tests.go » ('j') | no next file with comments »

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