We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have a function that deletes some objects. This function works well, but when is used with Firebase Emulator, always return "bucket doesn't exist".
go 1.16
Code e.g.
storage, err := fire.DefaultFirebaseApp.Storage(ctx) if err != nil { return err } bucket, err := storage.DefaultBucket() if err != nil { return err } it := bucket.Objects(ctx, &cloudStorage.Query{ Prefix: 'images/img', }) for { attrs, err := it.Next() if err == iterator.Done { break } if err != nil { return err } err = bucket.Object(attrs.Name).Delete(ctx) if err != nil { return err } } return nil
Expected behavior Code working with Firebase Emulator
The text was updated successfully, but these errors were encountered:
I found a few problems with this issue:
Sorry, something went wrong.
@tonyjhuang FYI
This is an emulator issue, created firebase/firebase-tools#5208
@christhompsongoogle I don't have permissions for some reason, mind closing this out?
christhompsongoogle
No branches or pull requests
I have a function that deletes some objects. This function works well, but when is used with Firebase Emulator, always return "bucket doesn't exist".
go 1.16
Code
e.g.
Expected behavior
Code working with Firebase Emulator
The text was updated successfully, but these errors were encountered: