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

Persistent storage for asyncs 3 #895

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Conversation

trzysiek
Copy link
Member

Probably last, shouldn't take much longer than 0,5 day to finish, I think.

Copy link

cloudflare-workers-and-pages bot commented Nov 5, 2024

Deploying quesma with  Cloudflare Pages  Cloudflare Pages

Latest commit: 622c4cc
Status: ✅  Deploy successful!
Preview URL: https://17734c96.quesma.pages.dev
Branch Preview URL: https://persistent-storage-2.quesma.pages.dev

View logs

@@ -118,11 +118,10 @@ func (p *ElasticJSONDatabase) List() ([]string, error) {
}`

resp, err := p.httpClient.Request(context.Background(), "GET", elasticsearchURL, []byte(query))

defer resp.Body.Close()
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to doc if err != nil body might be nil. So it looks like nil dereferencing or do I miss something?

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

Successfully merging this pull request may close these issues.

2 participants