From c3f4f1d6604749a51c552b868ef373f321139005 Mon Sep 17 00:00:00 2001 From: Ilya Dryomov Date: Wed, 8 Apr 2020 12:24:51 +0200 Subject: [PATCH] qa/tasks/rbd_fio: unbreak after the conversion from StringIO Fix a bad typo in commit db7ae8eff60a ("qa/tasks/rbd_fio: get rid of StringIO for py3"). Signed-off-by: Ilya Dryomov --- qa/tasks/rbd_fio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qa/tasks/rbd_fio.py b/qa/tasks/rbd_fio.py index fb3c1b5c1163c..08d9a2e1fdb2c 100644 --- a/qa/tasks/rbd_fio.py +++ b/qa/tasks/rbd_fio.py @@ -77,7 +77,7 @@ def get_ioengine_package_name(ioengine, remote): def run_rbd_map(remote, image, iodepth): iodepth = max(iodepth, 128) # RBD_QUEUE_DEPTH_DEFAULT dev = remote.sh(['sudo', 'rbd', 'device', 'map', '-o', - 'queue_depth={}'.format(iodepth), image]).rstripg('\n') + 'queue_depth={}'.format(iodepth), image]).rstrip('\n') teuthology.sudo_write_file( remote, '/sys/block/{}/queue/nr_requests'.format(os.path.basename(dev)), -- 2.39.5