Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions internal/cmd/branch/branch.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ func BranchCmd(ch *cmdutil.Helper) *cobra.Command {
cmd.AddCommand(ListCmd(ch))
cmd.AddCommand(DeleteCmd(ch))
cmd.AddCommand(ResizeCmd(ch))
cmd.AddCommand(VtgateCmd(ch))
cmd.AddCommand(ParametersCmd(ch))
cmd.AddCommand(ShowCmd(ch))
cmd.AddCommand(SwitchCmd(ch))
Expand Down
2 changes: 1 addition & 1 deletion internal/cmd/branch/resize.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ and "pscale branch resize cancel" to cancel it while queued.`,
}

if db.Kind == "mysql" {
return fmt.Errorf("branch resize is only supported for PostgreSQL databases. To resize a MySQL keyspace, use %s", printer.BoldBlue("pscale keyspace resize"))
return fmt.Errorf("branch resize is only supported for PostgreSQL databases. To resize a MySQL keyspace, use %s. To resize VTGates, use %s", printer.BoldBlue("pscale keyspace resize"), printer.BoldBlue("pscale branch vtgate resize"))
}

restartParams, err := preflightParameters(ctx, client, ch.Config.Organization, database, branch, parameters)
Expand Down
Loading