Skip to content

Commit

Permalink
fix go vet issue on errorf for s3 bucket wait
Browse files Browse the repository at this point in the history
issue: [hashicorp#877]
  • Loading branch information
xchapter7x committed Aug 10, 2017
1 parent 8f29fcf commit 0760f58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aws/resource_aws_s3_bucket.go
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ func resourceAwsS3BucketCreate(d *schema.ResourceData, meta interface{}) error {
select {
case err := <-errChannel:
if err != nil {
return fmt.Errorf("Error waiting for S3 Bucket creation: ", err)
return fmt.Errorf("Error waiting for S3 Bucket creation: %s", err)
}
case <-time.After(time.Duration(60) * time.Second):
return errors.New("S3 bucket creation timed out")
Expand Down

0 comments on commit 0760f58

Please sign in to comment.