Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

floats are converted to ints #88

Open
deimosfr opened this issue May 28, 2024 · 0 comments
Open

floats are converted to ints #88

deimosfr opened this issue May 28, 2024 · 0 comments

Comments

@deimosfr
Copy link

deimosfr commented May 28, 2024

Hi,

I know this has already been opened in the past. but this is a really annoying issue.

After digging into JSON schema, it looks like floats are accepted as numbers.

You can see examples like Google Cloud (so it's not an isolated case): https://cloud.google.com/vpc/docs/using-flow-logs?authuser=1&hl=en#api

SAMPLING_RATE is the flow sampling rate. Flow sampling can be set from 0.0 (no sampling) to 1.0 (all logs). Default is .0.5.

Can you please reconsider managing floats in this plugin?

Thanks in advance and thanks for your plugin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant