Skip to content

Commit

Permalink
docs(storage): replace misleading project ID (#4764)
Browse files Browse the repository at this point in the history
The `client.Buckets()` example uses `my-bucket` as the project ID, which seems more like a bucket ID.
  • Loading branch information
briandealwis committed Sep 23, 2021
1 parent 70c5633 commit 07cde7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage/example_test.go
Expand Up @@ -149,7 +149,7 @@ func ExampleClient_Buckets() {
if err != nil {
// TODO: handle error.
}
it := client.Buckets(ctx, "my-bucket")
it := client.Buckets(ctx, "my-project")
_ = it // TODO: iterate using Next or iterator.Pager.
}

Expand Down

0 comments on commit 07cde7f

Please sign in to comment.