mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
provider/aws: fix vet error, missing fmt param
This commit is contained in:
parent
9f5fd24b85
commit
1c0f2f136c
@ -90,7 +90,7 @@ func resourceAwsS3BucketRead(d *schema.ResourceData, meta interface{}) error {
|
||||
} else {
|
||||
// some of the AWS SDK's errors can be empty strings, so let's add
|
||||
// some additional context.
|
||||
return fmt.Errorf("error reading S3 bucket \"%s\": %#v", d.Id())
|
||||
return fmt.Errorf("error reading S3 bucket \"%s\": %s", d.Id(), err)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user