summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorwu.chunyang <wuchunyang@yovole.com>2020-10-12 17:04:03 +0800
committerwu.chunyang <wuchunyang@yovole.com>2020-10-12 17:10:03 +0800
commit9e2515aad353c0ad6ced3558c6cc0fcd6d478fff (patch)
tree6fd54becbd36ef0c8c47f6afd2a88a3bfa91a8b3 /doc
parent7377173e48a7db0038f5fd31a4dcf4824aa1b5f6 (diff)
downloadtrove-9e2515aad353c0ad6ced3558c6cc0fcd6d478fff.tar.gz
fix typo in docs
replace datastore_version with datastore-version in openstack client. trivial fix Change-Id: I5b5198c41af2f6463bf18b49de6f85080c5e05f8
Diffstat (limited to 'doc')
-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 a9883c28..1e4946ca 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
+--------------------------------------+--------------------+-----------+-------------------+---------+-----------------------------------------------+-----------+------+-----------+---------+