Skip to content

clean up meaningless code #2410

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

zhaodiaoer
Copy link
Contributor

after package global method rand.Seed() has been deprecated, there is no need to call top-level Seed at main(), the top-level globalRandGenerator will auto get seed when runtime start

What type of PR is this?

Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespace from that line:
/kind bug
/kind documentation
/kind enhancement
/kind good-first-issue
/kind feature
/kind question
/kind design
/sig ai
/sig iot
/sig network
/sig storage

/kind enhancement

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?

NONE

other Note

after package global method `rand.Seed()` has been deprecated, there
is no need to call top-level `Seed` at main(), the top-level
`globalRandGenerator` will auto get seed when runtime start

Signed-off-by: Lei Liu <[email protected]>
@zhaodiaoer zhaodiaoer requested a review from a team as a code owner June 24, 2025 11:52
Copy link

Copy link

codecov bot commented Jun 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (master@2b7106e). Learn more about missing BASE report.

Additional details and impacted files
@@            Coverage Diff            @@
##             master    #2410   +/-   ##
=========================================
  Coverage          ?   42.06%           
=========================================
  Files             ?      395           
  Lines             ?    25959           
  Branches          ?        0           
=========================================
  Hits              ?    10920           
  Misses            ?    14019           
  Partials          ?     1020           
Flag Coverage Δ
unittests 42.06% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@fungaren
Copy link
Contributor

fungaren commented Jul 1, 2025

/lgtm

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