From: Milind Changire Date: Wed, 4 May 2022 07:23:57 +0000 (+0530) Subject: qa: remove spurious argument to snap-schedule status command X-Git-Tag: v16.2.11~84^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f5b0d7772f8ff89a5cb9e4f982e956b621ab5dc0;p=ceph.git qa: remove spurious argument to snap-schedule status command Removing the subvol support exposed a spurious argument to the status command which was assgned to the 'subvol' parameter but was unused in this command implementation. The spurious argument is now removed. Signed-off-by: Milind Changire (cherry picked from commit b814630794abccb31f05e1efcd3b9f3e35cd3bec) --- diff --git a/qa/tasks/cephfs/test_snap_schedules.py b/qa/tasks/cephfs/test_snap_schedules.py index 7a7259870ad..3ccd4d59201 100644 --- a/qa/tasks/cephfs/test_snap_schedules.py +++ b/qa/tasks/cephfs/test_snap_schedules.py @@ -354,7 +354,7 @@ class TestSnapSchedules(CephFSTestCase): log.debug(f'snapshots: {snapshots}'); result = self.fs_snap_schedule_cmd('status', path=dir_path, - snap_schedule='1M', format='json') + format='json') json_res = json.loads(result)[0] db_count = int(json_res['created_count']) log.debug(f'json_res: {json_res}')