Skip to content

refactor: remove calls to deprecated rand.Seed function#5334

Merged
andrzej-stencel merged 4 commits intoelastic:mainfrom
andrzej-stencel:remove-deprecated-rand-seed
Aug 26, 2024
Merged

refactor: remove calls to deprecated rand.Seed function#5334
andrzej-stencel merged 4 commits intoelastic:mainfrom
andrzej-stencel:remove-deprecated-rand-seed

Conversation

@andrzej-stencel
Copy link
Copy Markdown
Contributor

What does this PR do?

Removes calls to the deprecated rand.Seed function.

Why is it important?

It removes code that serves no purpose. Less code is better.

Checklist

  • My code follows the style guidelines of this project
  • [ ] I have commented my code, particularly in hard-to-understand areas
  • [ ] I have made corresponding changes to the documentation
  • [ ] I have made corresponding change to the default configuration files
  • [ ] I have added tests that prove my fix is effective or that my feature works
  • [ ] I have added an entry in ./changelog/fragments using the changelog tool
  • [ ] I have added an integration test or an E2E test

@andrzej-stencel andrzej-stencel requested a review from a team as a code owner August 21, 2024 13:19
@andrzej-stencel andrzej-stencel added the Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team label Aug 21, 2024
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane)

@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Aug 21, 2024

This pull request does not have a backport label. Could you fix it @andrzej-stencel? 🙏
To fixup this pull request, you need to add the backport labels for the needed
branches, such as:

  • backport-v./d./d./d is the label to automatically backport to the 8./d branch. /d is the digit

NOTE: backport-skip has been added to this pull request.

Copy link
Copy Markdown
Contributor

@blakerouse blakerouse left a comment

Choose a reason for hiding this comment

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

Looks good.

@elastic-sonarqube
Copy link
Copy Markdown

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

@andrzej-stencel andrzej-stencel merged commit 5dc0ddb into elastic:main Aug 26, 2024
@andrzej-stencel andrzej-stencel deleted the remove-deprecated-rand-seed branch August 26, 2024 04:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants