]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Update batch.py 39469/head
authorjshen28 <yshxxsjt715@gmail.com>
Mon, 14 Dec 2020 06:54:46 +0000 (14:54 +0800)
committerJan Fajerski <jfajerski@suse.com>
Mon, 15 Feb 2021 12:09:32 +0000 (13:09 +0100)
Correct a typo

Signed-off-by: shenjiatong <yshxxsjt715@gmail.com>
(cherry picked from commit aa5f48780e469b3ed90f251a01cfa3e2a4f7beb0)

src/ceph-volume/ceph_volume/devices/lvm/batch.py

index a6f7632b3170c670839b05a611d9e25073bf8ddf..40c0fea4eec148d03715346bcbf552a8bd211662 100644 (file)
@@ -102,7 +102,7 @@ def get_physical_fast_allocs(devices, type_, fast_slots_per_device, new_osds, ar
     requested_slots = getattr(args, '{}_slots'.format(type_))
     if not requested_slots or requested_slots < fast_slots_per_device:
         if requested_slots:
-            mlogger.info('{}_slots argument is to small, ignoring'.format(type_))
+            mlogger.info('{}_slots argument is too small, ignoring'.format(type_))
         requested_slots = fast_slots_per_device
 
     requested_size = getattr(args, '{}_size'.format(type_), 0)