From 5a119705a70b3996650dfb37a2d676f3ce22de8c Mon Sep 17 00:00:00 2001 From: Christian Berendt Date: Tue, 13 Oct 2015 17:01:45 +0200 Subject: [PATCH] [os_doc_tools] fix cli-reference generation for gnocchiclient Change-Id: I4164cf94934fe7b037adcdb5514805d8d2c1277b --- bin/doc-tools-update-cli-reference | 7 ++++++- os_doc_tools/resources/clients.yaml | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/bin/doc-tools-update-cli-reference b/bin/doc-tools-update-cli-reference index 7b00fbf7..a3f380ee 100755 --- a/bin/doc-tools-update-cli-reference +++ b/bin/doc-tools-update-cli-reference @@ -48,7 +48,12 @@ source .venv/bin/activate pip install --upgrade openstack-doc-tools pip install --upgrade pbr -pip install --upgrade python-${project}client + +if [[ $project -eq 'gnocchi' ]]; then + pip install --upgrade ${project}client +else + pip install --upgrade python-${project}client +fi rm -rf output mkdir output diff --git a/os_doc_tools/resources/clients.yaml b/os_doc_tools/resources/clients.yaml index 4a574ff2..f9a83844 100644 --- a/os_doc_tools/resources/clients.yaml +++ b/os_doc_tools/resources/clients.yaml @@ -15,6 +15,7 @@ glance: title: Image service gnocchi: name: A time series storage and resources index service + subcommands: complete heat: name: Orchestration ironic: