]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Docstring fix in scheduler-stats
authorAtsushi SAKAI <sakaia@jp.fujitsu.com>
Fri, 16 Oct 2015 03:24:35 +0000 (12:24 +0900)
committerAtsushi SAKAI <sakaia@jp.fujitsu.com>
Fri, 6 Nov 2015 10:12:13 +0000 (19:12 +0900)
Docstring fixes in scheduler-stats

Change-Id: I0044c5c35a35eb99d2b9549065c401b0f1ccbd28
Closes-Bug: #1506706

cinder/api/views/scheduler_stats.py

index 19268406a5b4a1e15417e059a4a5f426e626a3d9..0a01a59a23b431a7c3c58528ff3a11c363ead308 100644 (file)
@@ -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: