fsouza/fake-gcs-server

Bucket has no labels and updating failed

fredericBregier opened this issue · 0 comments

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 ?