forked from TrueCloudLab/distribution
[driver/s3aws] Fix TestStorageClass
Fixes bug in TestStorageClass for s3aws driver where the "standard" file was checked for reduced-redundnancy storage. Signed-off-by: Brian Bland <brian.bland@docker.com>
This commit is contained in:
parent
b9907c4853
commit
c770f28f04
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ func TestStorageClass(t *testing.T) {
|
||||||
rrDriverUnwrapped := rrDriver.Base.StorageDriver.(*driver)
|
rrDriverUnwrapped := rrDriver.Base.StorageDriver.(*driver)
|
||||||
resp, err = rrDriverUnwrapped.S3.GetObject(&s3.GetObjectInput{
|
resp, err = rrDriverUnwrapped.S3.GetObject(&s3.GetObjectInput{
|
||||||
Bucket: aws.String(rrDriverUnwrapped.Bucket),
|
Bucket: aws.String(rrDriverUnwrapped.Bucket),
|
||||||
Key: aws.String(rrDriverUnwrapped.s3Path(standardFilename)),
|
Key: aws.String(rrDriverUnwrapped.s3Path(rrFilename)),
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatalf("unexpected error retrieving reduced-redundancy storage file: %v", err)
|
t.Fatalf("unexpected error retrieving reduced-redundancy storage file: %v", err)
|
||||||
|
|
Loading…
Reference in a new issue