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

update_agent: reword reboot delay broadcast mesage #556

Merged
merged 1 commit into from
May 17, 2021
Merged

update_agent: reword reboot delay broadcast mesage #556

merged 1 commit into from
May 17, 2021

Conversation

kelvinfan001
Copy link
Member

Reword message broadcasted to users when reboots are delayed due
to active interactive user sessions to emphasize that logging out
active sessions will allow Zincat to continue the auto-update
process.

Comment on lines 476 to 478
"New update {} is available and will be automatically applied.\n\
Finalization delayed until all interactive users have logged out (or for up to {}), update strategy permitting.\n\
Please log out all active sessions in order to let the auto-update process continue.",
Copy link
Member

Choose a reason for hiding this comment

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

That second sentence might be a little long for a single line. Suggestion:

Suggested change
"New update {} is available and will be automatically applied.\n\
Finalization delayed until all interactive users have logged out (or for up to {}), update strategy permitting.\n\
Please log out all active sessions in order to let the auto-update process continue.",
"New update {} is available and has been deployed. Finalization has been delayed\n\
for up to {} (update strategy permitting) or until all interactive users have\n\
logged out. Please log out all active sessions in order to let the auto-update\n\
process continue.",

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks, I've updated the PR to make the lines roughly the same length (also roughly accounting for what goes inside the {}s). I've also made it a bit more verbose for extra clarity.
Let me know if the lines are still too long or if it's getting too verbose now.

Reword message broadcasted to users when reboots are delayed due
to active interactive user sessions to emphasize that logging out
active sessions will allow Zincat to continue the auto-update
process.
Copy link
Member

@dustymabe dustymabe left a comment

Choose a reason for hiding this comment

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

LGTM

@kelvinfan001 kelvinfan001 merged commit 365215d into coreos:main May 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Slight UX issue with broadcast interactive terminal notification about upgrade
2 participants