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 <mchangir@redhat.com>
(cherry picked from commit
b814630794abccb31f05e1efcd3b9f3e35cd3bec)
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}')