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: v17.2.6~95^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d1841b56ffa7a0d66acc05eff4307bdcf0db3f83;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 4a9ce838ef7f..dbd800763829 100644 --- a/qa/tasks/cephfs/test_snap_schedules.py +++ b/qa/tasks/cephfs/test_snap_schedules.py @@ -363,7 +363,7 @@ class TestSnapSchedules(TestSnapSchedulesHelper): 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}')