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

fix: remove unsafe interface conversion #953

Merged
merged 4 commits into from
Nov 13, 2023

Conversation

Sugar-pack
Copy link
Contributor

@Sugar-pack Sugar-pack commented Nov 2, 2023

Description

Use a multi-valued interface conversion instead of a single-value form to avoid runtime panic.

Fix for #940

Checklist

  • Code compiles correctly
  • Run make fmt to fix inconsistent formats
  • Run make lint to get lint errors and fix all of them
  • All tests passing

@Sugar-pack Sugar-pack requested a review from a team as a code owner November 2, 2023 13:08
Copy link

github-actions bot commented Nov 2, 2023

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@Sugar-pack
Copy link
Contributor Author

I have read the CLA Document and I hereby sign the CLA

authexternalbrowser.go Outdated Show resolved Hide resolved
dsn.go Show resolved Hide resolved
gcs_storage_client.go Show resolved Hide resolved
gcs_storage_client.go Show resolved Hide resolved
gcs_storage_client.go Show resolved Hide resolved
statement.go Show resolved Hide resolved
@sfc-gh-pfus
Copy link
Collaborator

Hi @Sugar-pack ! Thank you for your input. I asked for some clarification and can't wait to see your answers.

@Sugar-pack
Copy link
Contributor Author

@sfc-gh-pfus, could you please assist me in resolving test issues?

@sfc-gh-pfus
Copy link
Collaborator

@Sugar-pack of course. I took a look and it seems that only flaky tests failed. I restarted the failed builds. I'll let you know if there is anything needed from you.

@sfc-gh-pfus sfc-gh-pfus force-pushed the fix/unsafe-convertions branch from 12225f2 to 0b997dd Compare November 13, 2023 12:01
@sfc-gh-pfus sfc-gh-pfus merged commit dc753e7 into snowflakedb:master Nov 13, 2023
25 of 46 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Nov 13, 2023
@sfc-gh-pfus
Copy link
Collaborator

Thank you @Sugar-pack for your PR! I merged it :)

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

Successfully merging this pull request may close these issues.

2 participants