From 9e2515aad353c0ad6ced3558c6cc0fcd6d478fff Mon Sep 17 00:00:00 2001 From: "wu.chunyang" Date: Mon, 12 Oct 2020 17:04:03 +0800 Subject: [PATCH] fix typo in docs replace datastore_version with datastore-version in openstack client. trivial fix Change-Id: I5b5198c41af2f6463bf18b49de6f85080c5e05f8 --- doc/source/admin/upgrade.rst | 4 ++-- doc/source/user/create-db.rst | 2 +- doc/source/user/upgrade-datastore.rst | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/source/admin/upgrade.rst b/doc/source/admin/upgrade.rst index a9883c2892..1e4946cadd 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 6118ba3936..8be0807900 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 4fb8dcccb5..dd89e4e84d 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 +--------------------------------------+--------------------+-----------+-------------------+---------+-----------------------------------------------+-----------+------+-----------+---------+