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

add random number generator and log improvement #5

Merged
merged 3 commits into from
Jul 18, 2023

Conversation

Vicente-Cheng
Copy link
Collaborator

@Vicente-Cheng Vicente-Cheng commented Jul 14, 2023

  • add a random number generator. We could use this with a boundary value.
  • improve the watcher log
  • add configuration of linter

Signed-off-by: Vicente Cheng <[email protected]>
random.go Show resolved Hide resolved
  - you could generate the random number with boundary value
  - add unit test

Signed-off-by: Vicente Cheng <[email protected]>
@Vicente-Cheng Vicente-Cheng force-pushed the add-random-and-improve-log branch from 7a31572 to f1b13e5 Compare July 17, 2023 07:25
@Vicente-Cheng Vicente-Cheng requested a review from bk201 July 17, 2023 07:26
random.go Outdated Show resolved Hide resolved
    - also fix the linter warning
    - also bump to go v1.19

Signed-off-by: Vicente Cheng <[email protected]>
Co-authored-by: Kiefer Chang <[email protected]>
@Vicente-Cheng Vicente-Cheng force-pushed the add-random-and-improve-log branch from ee46c73 to 0703777 Compare July 17, 2023 15:20
@Vicente-Cheng Vicente-Cheng requested a review from bk201 July 17, 2023 15:20
Copy link
Member

@bk201 bk201 left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

Copy link

@ibrokethecloud ibrokethecloud left a comment

Choose a reason for hiding this comment

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

LGTM. thanks.

@bk201 bk201 merged commit 1131342 into harvester:main Jul 18, 2023
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.

3 participants