Skip to content

Commit

Permalink
resource/s3_object_copy: Review updates
Browse files Browse the repository at this point in the history
Co-authored-by: Graham Davison <gdavison@hashicorp.com>
  • Loading branch information
YakDriver and gdavison authored Feb 18, 2021
1 parent a090e5f commit 4c69f49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aws/resource_aws_s3_object_copy.go
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ func resourceAwsS3ObjectCopyRead(d *schema.ResourceData, meta interface{}) error
}

if err := d.Set("metadata", metadata); err != nil {
return fmt.Errorf("error setting metadata: %s", err)
return fmt.Errorf("error setting metadata: %w", err)
}
d.Set("version_id", resp.VersionId)
d.Set("server_side_encryption", resp.ServerSideEncryption)
Expand Down

0 comments on commit 4c69f49

Please sign in to comment.