You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ISSUE: 1585 | Add --wait flag to databases resize command (#1590)
* ISSUE: 1585
* added bool flag into resize command
* added wait functionality into resize
* adjusted test
* ISSUES:1585
+ clean up with fmt
* ISSUES:1585
+ clean up make go fmt
* ISSUES:1585
+ removed test option to make it similar to create command
* ISSUES:1585
+ added new test case with wait flag
+ simplify logic in function
* Small copy adjustment.
---------
Co-authored-by: Anna Lushnikova <[email protected]>
Co-authored-by: Andrew Starr-Bochicchio <[email protected]>
cmdDatabaseResize.Example=`The following example resizes a PostgreSQL or MySQL database to have two nodes, 16 vCPUs, 64 GB of memory, and 2048 GiB of storage space: doctl databases resize ca9f591d-9999-5555-a0ef-1c02d1d1e352 --num-nodes 2 --size db-s-16vcpu-64gb --storage-size-mib 2048000`
"Boolean that specifies whether to wait for the resize to complete before returning control to the terminal")
140
+
cmdDatabaseResize.Example=`The following example resizes a PostgreSQL or MySQL database to have two nodes, 16 vCPUs, 64 GB of memory, and 2048 GiB of storage space: doctl databases resize ca9f591d-9999-5555-a0ef-1c02d1d1e352 --num-nodes 2 --size db-s-16vcpu-64gb --storage-size-mib 2048000 --wait true`
139
141
140
142
cmdDatabaseMigrate:=CmdBuilder(cmd, RunDatabaseMigrate, "migrate <database-cluster-id>", "Migrate a database cluster to a new region", `Migrates the specified database cluster to a new region.`, Writer,
0 commit comments