Skip to content

Commit

Permalink
Improve maintenance mode notification
Browse files Browse the repository at this point in the history
  • Loading branch information
andyone committed Oct 20, 2023
1 parent 801e89e commit e32074b
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions cli/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -602,8 +602,13 @@ func runCommand(args options.Arguments) {
fmtc.NewLine()
panel.Warn(
"Node in maintenance mode",
`This RDS node currently in maintenance mode. Superuser password is required for {*}ANY{!} command.`,
panel.WRAP, panel.BOTTOM_LINE,
`This RDS node is currently in maintenance mode. The superuser password is required
for {*_}ANY{!} command.
{s}Maintenance mode is used as a protection when devops/sysadmins perform some dangerous{!}
{s}actions like Redis update or node reconfiguration. Please be patient, it usually{!}
{s}doesn't take long.{!}`,
panel.BOTTOM_LINE,
)
}

Expand Down

0 comments on commit e32074b

Please sign in to comment.