Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete mechanics is not the same with the actual GCS #1326

Open
bearaujustkpd opened this issue Sep 13, 2023 · 0 comments
Open

Delete mechanics is not the same with the actual GCS #1326

bearaujustkpd opened this issue Sep 13, 2023 · 0 comments

Comments

@bearaujustkpd
Copy link

So when I called:

err = c.Bucket(b).bucket.Object(o).Generation(g).Delete(ctx)
if err != nil {
log.Fatalf("Failed to delete object: %v", err)
}

where the client is from:

fakeGCS := fakestorage.NewServer(nil)
client := fakeGCS.Client()

the object still exists with deleted_at..
but when I'm not using fake gcs, the object is permanently deleted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants