Skip to content

Fix missing argument assignments in NewWatcher#8

Merged
hlts2 merged 1 commit intomainfrom
fix/bugfix-set-api-key-info
Feb 28, 2025
Merged

Fix missing argument assignments in NewWatcher#8
hlts2 merged 1 commit intomainfrom
fix/bugfix-set-api-key-info

Conversation

@hlts2
Copy link
Copy Markdown
Member

@hlts2 hlts2 commented Feb 28, 2025

This PR fixes an issue where certain arguments were not correctly assigned to the watcher struct in NewWatcher.

Changes:

  • Fixed missing assignments of specific fields in watcher.
  • Added test cases to verify correct field assignments.

Ensured test cases handle error scenarios properly to avoid nil dereference issues.
These changes improve the correctness of the implementation and the reliability of tests.

⚠️ In v0.1.0, this issue results in an error. However, this implementation is expected to fix the error, so a new version release will be required.

cc: @johndietz

Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com>
@hlts2 hlts2 requested a review from johndietz February 28, 2025 05:38
@hlts2 hlts2 self-assigned this Feb 28, 2025
Copy link
Copy Markdown
Contributor

@johndietz johndietz left a comment

Choose a reason for hiding this comment

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

lgtm 🚀

@johndietz
Copy link
Copy Markdown
Contributor

noted on release detail

@hlts2
Copy link
Copy Markdown
Member Author

hlts2 commented Feb 28, 2025

@johndietz Thank you for your review! I will merge this PR 🚀

@hlts2 hlts2 merged commit 241c9db into main Feb 28, 2025
@hlts2 hlts2 deleted the fix/bugfix-set-api-key-info branch February 28, 2025 11:08
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