Closed yteraoka closed 3 years ago
@yteraoka Thanks for the PR.
Were you able test this changes on cluster, just to ensure there are no breaking changes by switching to v3 ?
I’m not sure about difference between yaml.v2 and yaml.v3. But it worked for me (Amazon ES 7.4). We'll need to write test code.
This PR is very similar to #6, with one difference. To make
omitempty
work, I added a Throttle struct as a pointer.Enabled
convert to
Disabled
convert to none.
yaml version
I got a error below with
gopkg.in/mihirsoni/yaml.v2
. So I changed to yaml.v3.