You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When unmarshalling values from json input, all numbers are
set to floats. This has unexpected side effects when passing them to Ansible
where Ansible is expecting integers. This change ensures that all values
are decoded as integers instead of floats.
This chage uses the UseNumber() method to decode all numbers to ints:
https://pkg.go.dev/encoding/json#Decoder.UseNumber
Jira: https://issues.redhat.com/browse/OSPRH-15097
Signed-off-by: Brendan Shephard <bshephar@redhat.com>
0 commit comments