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:
@dumabg this will be the tracking bug for firebase/firebase-admin-go#514
Sorry, something went wrong.
Issue was fixed with #5209
@dumabg Please try again once we cut a new version of the emulator, or download the latest version straight from Github if you need it sooner
abhis3
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: