Repository navigation
ACA-6402 Modify autoscaling_policy module to enforce floats for StepScaling bounds - #2450
Conversation
Docs Build 📝Thank you for contribution!✨ This PR has been merged and your docs changes will be incorporated when they are next published. |
|
Build succeeded. ✔️ ansible-galaxy-importer SUCCESS in 4m 36s (non-voting) |
tremble
left a comment
There was a problem hiding this comment.
To help avoid regressions it would be good if you could update the integration tests to verify that they work as expected:
Otherwise LGTM
|
Build succeeded. ❌ ansible-galaxy-importer RETRY_LIMIT Host unreachable in 5m 43s (non-voting) |
There was a problem hiding this comment.
@cjahnel great work! I only left a small suggestion, otherwise LGTM!
Co-authored-by: Alina Buzachis <abuzachis@redhat.com>
|
Build succeeded. ✔️ ansible-galaxy-importer SUCCESS in 4m 19s (non-voting) |
|
Build succeeded (gate pipeline). ✔️ ansible-galaxy-importer SUCCESS in 4m 09s (non-voting) |
0797ce3
into
ansible-collections:main
Backport to stable-10: 💚 backport PR created✅ Backport PR branch: Backported as #2453 🤖 @patchback |
Backport to stable-11: 💚 backport PR created✅ Backport PR branch: Backported as #2454 🤖 @patchback |
…caling bounds (#2450) (#2453) This is a backport of PR #2450 as merged into main (0797ce3). SUMMARY This pull request fixes a bug in the autoscaling_policy module by allowing the lower_bound and upper_bound parameters in step_adjustments to accept float values instead of just integers. This change ensures more flexibility and accuracy when configuring autoscaling policies. Bugfix for step scaling bounds: Updated the autoscaling_policy module to allow lower_bound and upper_bound in step_adjustments to be floats, both in the module argument specification and in the main function definition. [1] [2] Added a changelog entry documenting that lower_bound and upper_bound now accept float types. Fixes #2355. ISSUE TYPE Bugfix Pull Request Reviewed-by: Mark Chappell
…caling bounds (#2450) (#2454) This is a backport of PR #2450 as merged into main (0797ce3). SUMMARY This pull request fixes a bug in the autoscaling_policy module by allowing the lower_bound and upper_bound parameters in step_adjustments to accept float values instead of just integers. This change ensures more flexibility and accuracy when configuring autoscaling policies. Bugfix for step scaling bounds: Updated the autoscaling_policy module to allow lower_bound and upper_bound in step_adjustments to be floats, both in the module argument specification and in the main function definition. [1] [2] Added a changelog entry documenting that lower_bound and upper_bound now accept float types. Fixes #2355. ISSUE TYPE Bugfix Pull Request Reviewed-by: Mark Chappell Reviewed-by: Matthew Johnson
…caling bounds (ansible-collections#2450) SUMMARY This pull request fixes a bug in the autoscaling_policy module by allowing the lower_bound and upper_bound parameters in step_adjustments to accept float values instead of just integers. This change ensures more flexibility and accuracy when configuring autoscaling policies. Bugfix for step scaling bounds: Updated the autoscaling_policy module to allow lower_bound and upper_bound in step_adjustments to be floats, both in the module argument specification and in the main function definition. [1] [2] Added a changelog entry documenting that lower_bound and upper_bound now accept float types. Fixes ansible-collections#2355. ISSUE TYPE Bugfix Pull Request Reviewed-by: Matthew Johnson Reviewed-by: Mark Chappell Reviewed-by: Alina Buzachis Reviewed-by: Chyna Sanders Reviewed-by: Bikouo Aubin
SUMMARY
This pull request fixes a bug in the
autoscaling_policymodule by allowing thelower_boundandupper_boundparameters instep_adjustmentsto accept float values instead of just integers. This change ensures more flexibility and accuracy when configuring autoscaling policies.Bugfix for step scaling bounds:
autoscaling_policymodule to allowlower_boundandupper_boundinstep_adjustmentsto be floats, both in the module argument specification and in the main function definition. [1] [2]lower_boundandupper_boundnow accept float types.Fixes #2355.
ISSUE TYPE