[GH-ISSUE #1477] Bucket has no labels and updating failed #200

Open
opened 2026-03-03 12:09:06 +03:00 by kerem · 0 comments
Owner

Originally created by @fredericBregier on GitHub (Feb 6, 2024).
Original GitHub issue: https://github.com/fsouza/fake-gcs-server/issues/1477

When I called something like:

Map map = Map.of("keytest", "keyvalue");
Bucket result = storage.create(BucketInfo.newBuilder(bucket).setLabels(map).build());

result has no labels (result.getLabels() is null).
If I recall the bucket, I've got the same (using storage.get(bucket)).

If I called an update on the bucket, I get an error as bucket does not exist (while the get is ok) (similar to another already opened issue I believe).

Do I missed something ?

Originally created by @fredericBregier on GitHub (Feb 6, 2024). Original GitHub issue: https://github.com/fsouza/fake-gcs-server/issues/1477 When I called something like: ``` Map map = Map.of("keytest", "keyvalue"); Bucket result = storage.create(BucketInfo.newBuilder(bucket).setLabels(map).build()); ``` result has no labels (`result.getLabels()` is null). If I recall the bucket, I've got the same (using `storage.get(bucket)`). If I called an update on the bucket, I get an error as bucket does not exist (while the get is ok) (similar to another already opened issue I believe). Do I missed something ?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/fake-gcs-server#200
No description provided.