Merge pull request #1467 from BrianBland/s3awsFixTest

[driver/s3aws] Fix TestStorageClass
pull/1458/merge
Brian Bland 2016-02-16 18:14:34 -08:00
commit 5a1863b76e
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ func TestStorageClass(t *testing.T) {
rrDriverUnwrapped := rrDriver.Base.StorageDriver.(*driver)
resp, err = rrDriverUnwrapped.S3.GetObject(&s3.GetObjectInput{
Bucket: aws.String(rrDriverUnwrapped.Bucket),
Key: aws.String(rrDriverUnwrapped.s3Path(standardFilename)),
Key: aws.String(rrDriverUnwrapped.s3Path(rrFilename)),
})
if err != nil {
t.Fatalf("unexpected error retrieving reduced-redundancy storage file: %v", err)