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

nil pointer dereference in internal/net/http/transport #502

Closed
rinx opened this issue Jun 23, 2020 · 1 comment
Closed

nil pointer dereference in internal/net/http/transport #502

rinx opened this issue Jun 23, 2020 · 1 comment
Labels
priority/medium team/core Core team type/bug Something isn't working

Comments

@rinx
Copy link
Contributor

rinx commented Jun 23, 2020

Describe the bug:

application crashes when res.StatusCode is nil.

switch res.StatusCode {

currently, this line is used only in agent-sidecar.

To Reproduce:

start agent-sidecar with invalid URL for S3 endpoint.

Expected behavior:

don't crash.

Environment:

  • Go Version: 1.14.3
  • Docker Version: 19.03.8
  • Kubernetes Version: 1.18.2
  • NGT Version: 1.11.5
@rinx rinx added type/bug Something isn't working team/core Core team priority/medium labels Jun 23, 2020
@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the label type/bug to this issue, with a confidence of 0.96. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority/medium team/core Core team type/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant