-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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
[Fleet] Only show rolling upgrade warning if an outdated agent is selected #136764
[Fleet] Only show rolling upgrade warning if an outdated agent is selected #136764
Conversation
Pinging @elastic/fleet (Team:Fleet) |
@@ -325,14 +330,21 @@ export const AgentUpgradeAgentModal: React.FunctionComponent<AgentUpgradeAgentMo | |||
customOptionText="Input the desired version" | |||
/> | |||
</EuiFormRow> | |||
{!isSingleAgent ? ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed this isSingleAgent
distinction, but I'm not sure if that's necessary.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we do not use the bulk upgrade and do not provide rolling upgrade option for single agent so it probably make no sense to show the warning for single agent.
I think this will not work if you use a kuery (aka select all agents on all pages) it's similar to this #135337 I think it's an acceptable behavior as querying all agent in this case is not a scalable solution |
...fleet/public/applications/fleet/sections/agents/components/agent_upgrade_modal/constants.tsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some small comments but otherwise 🚀
…/components/agent_upgrade_modal/constants.tsx Co-authored-by: Nicolas Chaulet <n.chaulet@gmail.com>
I am unable to reproduce the Fleet cypress failures locally. |
@elasticmachine merge upstream |
merge conflict between base and head |
…unsupported-agent-exists
@elasticmachine merge upstream |
…unsupported-agent-exists
💚 Build Succeeded
Metrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: cc @kpollich |
Summary
Fixes #132776
Screenshots