Merge "Moved 'six' import to the top."

This commit is contained in:
Zuul 2021-09-01 18:38:16 +00:00 committed by Gerrit Code Review
commit 0c6a43a14b

View File

@ -16,6 +16,9 @@
"""ceph_pools_pg_protection module """ceph_pools_pg_protection module
Used by the ceph-pg validation. Used by the ceph-pg validation.
""" """
import six
from yaml import safe_load as yaml_safe_load from yaml import safe_load as yaml_safe_load
from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.basic import AnsibleModule
@ -154,7 +157,6 @@ def check_pg_num(pool, pg_num, size, num_osds=0, max_pgs_per_osd=200, pools={}):
# } # }
# return 0; # return 0;
# } # }
import six
msg = "" msg = ""
max_pgs = max_pgs_per_osd * num_osds max_pgs = max_pgs_per_osd * num_osds
projected = 0 projected = 0