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

Move utils/retry and api/errors to ecs-agent #3711

Merged
merged 1 commit into from
May 25, 2023

Conversation

RichaGangwar
Copy link
Contributor

Summary

Move utils/retry and api/errors to ecs-agent as part of moving appnet client to ecs-agent

Implementation details

  1. Moved the utils/retry from agent to ecs-agent.
  2. Updated imports using utils/retry
  3. Moved api/errors from agent to ecs-agent.
  4. Updated imports using api/errors

Testing

Unit tests using target make test.

New tests cover the changes: No

Description for the changelog

Move utils/retry and api/errors to ecs-agent

Licensing

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@RichaGangwar RichaGangwar marked this pull request as ready for review May 23, 2023 21:41
@RichaGangwar RichaGangwar requested a review from a team as a code owner May 23, 2023 21:41
if jitter.Nanoseconds() == 0 {
randJitter = 0
} else {
randJitter = rand.Int63n(jitter.Nanoseconds())
Copy link
Member

Choose a reason for hiding this comment

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

Today I learned about Int63n()!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Same here :)

@RichaGangwar RichaGangwar merged commit 05cc68d into aws:dev May 25, 2023
@yinyic yinyic mentioned this pull request Jun 6, 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.

4 participants