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

Simplify ContainerStatus.BackendStatusString() method #4168

Merged
merged 2 commits into from
May 8, 2024

Conversation

amogh09
Copy link
Contributor

@amogh09 amogh09 commented May 7, 2024

Summary

#4167 introduced ContainerStatus.BackendStatusString() method that maps internal container status to a backend-recognized container status string. This method takes container steady state as a parameter which still adds coupling between internal container status and backend-recognized status string. To decouple the two further, this PR removes the parameter and un-deprecates BackendStatus method which serves a different purpose of mapping internal container status to an internal container status which is eligible for STSC.

Testing

New tests cover the changes: no

Description for the changelog

Does this PR include breaking model changes? If so, Have you added transformation functions?

Enhancement: Simplify ContainerStatus.BackendStatusString() method

Licensing

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

@amogh09 amogh09 changed the base branch from master to dev May 7, 2024 23:37
@amogh09 amogh09 changed the title Container backend status simplify Simplify ContainerStatus.BackendStatusString() method May 7, 2024
@amogh09 amogh09 marked this pull request as ready for review May 7, 2024 23:43
@amogh09 amogh09 requested a review from a team as a code owner May 7, 2024 23:43
@amogh09 amogh09 merged commit 13bd226 into aws:dev May 8, 2024
40 checks passed
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