Skip to content

Example code for Server.Client returns storage: object doesn't exist on v1.54.0 #2186

Description

@k0ral

It’s possible I’m missing something, but since this is a documented example, I’d expect it to work out of the box. Let me know if there’s an extra step required for it to work.

Steps to reproduce

Using fake-gcs-server version 1.54.0, with Go 1.26, run the example code for Server.Client without modifications.

Expected behavior:

The example should successfully read the object that was just created.

Actual behavior:

Reading the object fails with:

panic: storage: object doesn't exist

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions