Closed mfouilleul closed 8 years ago
reopen if still happen with new templater
Stil happen with the new templater:
Attributes file:
---
override:
maxscale:
binlogrouter:
master_id: 3232235530
Template:
master-id={{ $data.maxscale.binlogrouter.master_id }}
Result in final file:
master-id=3.23223553e+09
It can be stil avoided by adding some quotes:
---
override:
maxscale:
binlogrouter:
master_id: "3232235530"
Max.
It seems to come from go parsing or templating. Since there is a workaround I will close the issue.
Reopen if you find a problematic use case.
Confd formats large integer with the scientific notation. Can be avoided by adding quotes on attributes (temporary fix).