Browse Source

storage: fix docstrings

Rusty Bird 5 years ago
parent
commit
266d90c2f9
1 changed files with 4 additions and 2 deletions
  1. 4 2
      qubes/storage/__init__.py

+ 4 - 2
qubes/storage/__init__.py

@@ -252,6 +252,8 @@ class Volume:
     def revert(self, revision=None):
         ''' Revert volume to previous revision
 
+        This can be implemented as a coroutine.
+
         :param revision: revision to revert volume to, see :py:attr:`revisions`
         '''
         # pylint: disable=unused-argument
@@ -616,7 +618,7 @@ class Storage:
 
     @asyncio.coroutine
     def start(self):
-        ''' Execute the start method on each pool '''
+        ''' Execute the start method on each volume '''
         futures = []
         for volume in self.vm.volumes.values():
             ret = volume.start()
@@ -631,7 +633,7 @@ class Storage:
 
     @asyncio.coroutine
     def stop(self):
-        ''' Execute the start method on each pool '''
+        ''' Execute the stop method on each volume '''
         futures = []
         for volume in self.vm.volumes.values():
             ret = volume.stop()