]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
qa/cephfs: minor improvement for a helper method
authorRishabh Dave <ridave@redhat.com>
Thu, 3 Apr 2025 19:29:27 +0000 (00:59 +0530)
committerRishabh Dave <ridave@redhat.com>
Thu, 26 Jun 2025 08:31:53 +0000 (14:01 +0530)
Remove extra space from the line that defines the method name and
parameters as the extra space between the keyword "def" and method name
makes it impossible to find this method through a search.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit 94ab44caf5a6c8c5ebf0b7c451f107a1e12bfb44)

qa/tasks/cephfs/test_volumes.py

index 58ecc2cbb5b3cf0e7c7a25f6d6ccd00ee6b5cc67..c850d7691da640e18b52662705b9439948312921 100644 (file)
@@ -221,7 +221,7 @@ class TestVolumesHelper(CephFSTestCase):
         # remove the leading '/', and trailing whitespaces
         return path[1:].rstrip()
 
-    def  _get_subvolume_info(self, vol_name, subvol_name, group_name=None):
+    def _get_subvolume_info(self, vol_name, subvol_name, group_name=None):
         args = ["subvolume", "info", vol_name, subvol_name]
         if group_name:
             args.append(group_name)