Skip to content

wktui-345 Correct display message when domain status is available. #123

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

Merged
merged 3 commits into from
Apr 14, 2022

Conversation

jshum2479
Copy link
Member

Correct message text when domain status is available, copy and paste error from other status type, there is no extra information in this status.

@@ -1186,7 +1186,7 @@
"k8s-domain-status-checker-domain-status-unknown": "Unknown - Cannot determine the domain status now - check back later",
"k8s-domain-status-checker-domain-status-complete": "Complete - Domain is deployed and all servers are up and running",
"k8s-domain-status-checker-domain-status-failed": "Failed - Domain failed to deploy. Reason: {{reason}}",
"k8s-domain-status-checker-domain-status-available": "Available - Domain is deployed and some servers are up and running but the domain has not reaching the replicas count goal yet. Reason: {{reason}}",
"k8s-domain-status-checker-domain-status-available": "Available - Domain is deployed and some servers are up and running but the domain has not reaching the replicas count goal yet, check again later.",
Copy link
Member

Choose a reason for hiding this comment

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

"has not reaching" -> "has not reached"

Copy link
Member Author

Choose a reason for hiding this comment

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

fixed

@@ -1186,7 +1186,7 @@
"k8s-domain-status-checker-domain-status-unknown": "Unknown - Cannot determine the domain status now - check back later",
"k8s-domain-status-checker-domain-status-complete": "Complete - Domain is deployed and all servers are up and running",
"k8s-domain-status-checker-domain-status-failed": "Failed - Domain failed to deploy. Reason: {{reason}}",
"k8s-domain-status-checker-domain-status-available": "Available - Domain is deployed and some servers are up and running but the domain has not reaching the replicas count goal yet. Reason: {{reason}}",
"k8s-domain-status-checker-domain-status-available": "Available - Domain is deployed and some servers are up and running but the domain has not reached the replicas count goal yet, check again later.",
Copy link
Member

Choose a reason for hiding this comment

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

Hmm... In most cases, the reason is available and presumably helps the user quickly and easily understand the state. I don't feel like the solution to handling the transient situations where the reason is empty is to completely eliminate showing the reasons in all situations.

Copy link
Member Author

Choose a reason for hiding this comment

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

changed the code to put out condition reasons

@robertpatrick robertpatrick merged commit 6f875c8 into main Apr 14, 2022
@robertpatrick robertpatrick deleted the wktui-345 branch April 14, 2022 19:22
robertpatrick pushed a commit that referenced this pull request Apr 14, 2022
)

* wktui-345  Correct display message when domain status is available.

* correct grammar

* add latest condition to status
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.

3 participants