Skip to content

Commit

Permalink
Update _index.md (#2677)
Browse files Browse the repository at this point in the history
Replaces api with client in GetObjectBytes func. This was referencing a func param incorrectly.
  • Loading branch information
FrancescaRodricks authored Jun 13, 2024
1 parent dded552 commit f460186
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/en/docs/migrating/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ type GetObjectAPIClient interface {
}

func GetObjectBytes(ctx context.Context, client GetObjectAPIClient, bucket, key string) ([]byte, error) {
object, err := api.GetObject(ctx, &s3.GetObjectInput{
object, err := client.GetObject(ctx, &s3.GetObjectInput{
Bucket: &bucket,
Key: &key,
})
Expand Down

0 comments on commit f460186

Please sign in to comment.