summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwu.chunyang <wuchunyang@yovole.com>2020-10-12 17:04:03 +0800
committerwu.chunyang <wuchunyang@yovole.com>2020-10-22 07:43:33 +0000
commitffd08c84db4bdc380701bfd3d2bde01bb098e833 (patch)
treec4f0607f6e2eb4228afb5e2c5d19e8cb4bdced4c
parent0ce59e0436230cc19083afca63928d0fdfad7fcc (diff)
downloadtrove-ffd08c84db4bdc380701bfd3d2bde01bb098e833.tar.gz
fix typo in docs
replace datastore_version with datastore-version in openstack client. trivial fix Change-Id: I5b5198c41af2f6463bf18b49de6f85080c5e05f8 (cherry picked from commit 9e2515aad353c0ad6ced3558c6cc0fcd6d478fff)
-rw-r--r--doc/source/admin/upgrade.rst4
-rw-r--r--doc/source/user/create-db.rst2
-rw-r--r--doc/source/user/upgrade-datastore.rst2
3 files changed, 4 insertions, 4 deletions
diff --git a/doc/source/admin/upgrade.rst b/doc/source/admin/upgrade.rst
index 24d553f0..757c06fd 100644
--- a/doc/source/admin/upgrade.rst
+++ b/doc/source/admin/upgrade.rst
@@ -49,7 +49,7 @@ in place and can be triggered by the cloud administrator.
$flavorid \
--size 1 \
--nic net-id=$netid \
- --datastore mysql --datastore_version 5.7 \
+ --datastore mysql --datastore-version 5.7 \
--databases testdb --users user:password \
--is-public
$ openstack database instance list
@@ -209,4 +209,4 @@ Upgrade Trove guest agent
* If you are upgrading from Victoria or newer release.
- TBD. \ No newline at end of file
+ TBD.
diff --git a/doc/source/user/create-db.rst b/doc/source/user/create-db.rst
index 6118ba39..8be08079 100644
--- a/doc/source/user/create-db.rst
+++ b/doc/source/user/create-db.rst
@@ -111,7 +111,7 @@ Create and access a database instance
--size 5 \
--nic net-id=8799cf10-01ef-40e2-b04e-06da7cfa5668 \
--databases test --users userA:password \
- --datastore mysql --datastore_version 5.7 \
+ --datastore mysql --datastore-version 5.7 \
--is-public \
--allowed-cidr 10.1.0.1/24 \
--allowed-cidr 202.37.199.1/24
diff --git a/doc/source/user/upgrade-datastore.rst b/doc/source/user/upgrade-datastore.rst
index 4fb8dccc..dd89e4e8 100644
--- a/doc/source/user/upgrade-datastore.rst
+++ b/doc/source/user/upgrade-datastore.rst
@@ -52,7 +52,7 @@ Upgrading datastore
--flavor d2 \
--size 1 \
--nic net-id=$netid \
- --datastore mysql --datastore_version 5.7.29 \
+ --datastore mysql --datastore-version 5.7.29 \
--databases testdb --users user:password
$ openstack database instance list
+--------------------------------------+--------------------+-----------+-------------------+---------+-----------------------------------------------+-----------+------+-----------+---------+