commit c7df051e3e40fa5ddcf3e472cae6f390f07272e1
Author: ChangBo Guo(gcb) <email address hidden>
Date: Sat Dec 3 18:19:16 2016 +0800
Remove invalid tests for config option osapi_compute_workers
Config option osapi_compute_workers is integer with min=1, that
means any value < 1 will raise ValueError in runtime. Method
set_override of ConfigOpts will not check value when enforce_type=False,
In the future release of oslo.config, will set parameter enforce_type
with True by default.
This commit fixes warning as follow:
DeprecationWarning: The argument enforce_type is changing its default
value to True and then will be removed completely, please fix the
invalid Integer(min=1) value '0' for option 'osapi_compute_workers'. in
version '4.0'
Reviewed: https:/ /review. openstack. org/406449 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=c7df051e3e4 0fa5ddcf3e472ca e6f390f07272e1
Committed: https:/
Submitter: Jenkins
Branch: master
commit c7df051e3e40fa5 ddcf3e472cae6f3 90f07272e1
Author: ChangBo Guo(gcb) <email address hidden>
Date: Sat Dec 3 18:19:16 2016 +0800
Remove invalid tests for config option osapi_compute_ workers
Config option osapi_compute_ workers is integer with min=1, that
means any value < 1 will raise ValueError in runtime. Method
set_override of ConfigOpts will not check value when enforce_type=False,
In the future release of oslo.config, will set parameter enforce_type
with True by default.
This commit fixes warning as follow: Warning: The argument enforce_type is changing its default compute_ workers' . in
Deprecation
value to True and then will be removed completely, please fix the
invalid Integer(min=1) value '0' for option 'osapi_
version '4.0'
Related-Bug: 1517839
Change-Id: I7da19419ed13e5 d0602bbf5028c3c f7ae30c3c62