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

ZEA-3791: nil pointer issue in zeabur/cli #105

Merged
merged 2 commits into from
Aug 9, 2024

Conversation

pan93412
Copy link
Member

@pan93412 pan93412 commented Aug 8, 2024

Description (required)

Some functions do not handle the service == nil case, introducing a nil-pointer panic. This PR fixes it by letting users re-select the project.

service == nil is also documented now.

Related issues & labels (optional)

  • Closes ZEA-3791
  • Suggested label: bug

@pan93412 pan93412 self-assigned this Aug 8, 2024
If there is no (matched) services in projects, we let users reselect the project.
@pan93412 pan93412 force-pushed the pan93412/zea-3791-nil-pointer-issues-on-zeaburcli branch from 06aa54d to 0555840 Compare August 8, 2024 10:24
@pan93412 pan93412 requested a review from yuaanlin August 8, 2024 10:25
@pan93412 pan93412 marked this pull request as ready for review August 8, 2024 10:25
@pan93412 pan93412 changed the title ZEA-3791: nil pointer issue on zeabur/cli ZEA-3791: nil pointer issue in zeabur/cli Aug 8, 2024
@MichaelYuhe MichaelYuhe merged commit 9c940dd into main Aug 9, 2024
2 checks passed
@MichaelYuhe MichaelYuhe deleted the pan93412/zea-3791-nil-pointer-issues-on-zeaburcli branch August 9, 2024 02:29
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