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

Container Restart Policy ACS model #4175

Merged
merged 1 commit into from
May 14, 2024
Merged

Container Restart Policy ACS model #4175

merged 1 commit into from
May 14, 2024

Conversation

timj-hh
Copy link
Contributor

@timj-hh timj-hh commented May 13, 2024

Summary

Update the Container Restart Policy ACS model to simply RestartPolicy, and remove RestartPolicy. RestartPolicy has no current or future use so it is safe to replace.

Implementation details

Ran make get-deps && make gogenerate in amazon-ecs-agent. Ran go mod tidy && go mod vendor in agent module.

Testing

Verified that consumer marshals correctly into a RestartPolicy struct.

Description for the changelog

Update ACS model restart policy in ecs-agent

Licensing

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

@timj-hh timj-hh marked this pull request as ready for review May 13, 2024 23:46
@timj-hh timj-hh requested a review from a team as a code owner May 13, 2024 23:46
Copy link
Contributor

@JoseVillalta JoseVillalta left a comment

Choose a reason for hiding this comment

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

LGTM

@timj-hh timj-hh merged commit e45076b into aws:dev May 14, 2024
40 checks passed
@Yiyuanzzz Yiyuanzzz mentioned this pull request May 28, 2024
jiuchoe4 pushed a commit to saurabhc123/amazon-ecs-agent that referenced this pull request Jun 3, 2024
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.

5 participants