From 54317c580511afbf125e1bca665b31f7ba0b65b0 Mon Sep 17 00:00:00 2001 From: Atsushi SAKAI Date: Fri, 16 Oct 2015 12:24:35 +0900 Subject: [PATCH] Docstring fix in scheduler-stats Docstring fixes in scheduler-stats Change-Id: I0044c5c35a35eb99d2b9549065c401b0f1ccbd28 Closes-Bug: #1506706 --- cinder/api/views/scheduler_stats.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cinder/api/views/scheduler_stats.py b/cinder/api/views/scheduler_stats.py index 19268406a..0a01a59a2 100644 --- a/cinder/api/views/scheduler_stats.py +++ b/cinder/api/views/scheduler_stats.py @@ -26,7 +26,7 @@ class ViewBuilder(common.ViewBuilder): super(ViewBuilder, self).__init__() def summary(self, request, pool): - """Detailed view of a single pool.""" + """Summary view of a single pool.""" return { 'pool': { 'name': pool.get('name'), @@ -43,7 +43,7 @@ class ViewBuilder(common.ViewBuilder): } def pools(self, request, pools, detail): - """Detailed view of a list of pools seen by scheduler.""" + """Detailed/Summary view of a list of pools seen by scheduler.""" if detail: plist = [self.detail(request, pool)['pool'] for pool in pools] else: -- 2.45.2