]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/tasks/rbd_fio: unbreak after the conversion from StringIO 34471/head
authorIlya Dryomov <idryomov@gmail.com>
Wed, 8 Apr 2020 10:24:51 +0000 (12:24 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 8 Apr 2020 10:24:51 +0000 (12:24 +0200)
Fix a bad typo in commit db7ae8eff60a ("qa/tasks/rbd_fio: get rid of
StringIO for py3").

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
qa/tasks/rbd_fio.py

index fb3c1b5c1163c57dbe16160381bb6eeddbf9551e..08d9a2e1fdb2c97b4d5bd65c9c399750dac78dda 100644 (file)
@@ -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)),