Is there any issue with parsing floats from yaml c...
# yaml
g
Is there any issue with parsing floats from yaml config? In yaml I have value
cloud_run:APP_TRACE_SAMPLING_RATE: "0.001"
but preview its getting 0. I tries to set
0.1
it give 0, tried
"0.1"
also 0 but
"a0.01"
five
a0.01
Copy code
~ template: {
          ~ spec: {
              ~ containers: [
                  ~ [0]: {
                          ~ envs: [
                              ~ [1]: {
                                      + name : "APP_TRACE_SAMPLING_RATE"
                                      + value: 0
                                    }
                            ]
                        }
                ]
            }
        }
When setting
0,01
it works but for me it looks like a bug.
My app expect
.
not
,
so I can't do deploy 😕
Also when I have true/false it is changed to 1/0. What the...
r
I encountered the same bug
g
I hope it will be fixed soon, I really liked YAML but this bug break everything 😞
r
g
Still not fixed 😕
r
Yeah, just ran into it again 😞
g
We'll rewrite to Go so time wasted for playign with yaml