From: Atsushi SAKAI Date: Fri, 16 Oct 2015 03:24:35 +0000 (+0900) Subject: Docstring fix in scheduler-stats X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=54317c580511afbf125e1bca665b31f7ba0b65b0;p=openstack-build%2Fcinder-build.git Docstring fix in scheduler-stats Docstring fixes in scheduler-stats Change-Id: I0044c5c35a35eb99d2b9549065c401b0f1ccbd28 Closes-Bug: #1506706 --- 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: