mirror of
https://github.com/floci-io/floci.git
synced 2026-11-23 14:10:49 -05:00
* fix(opensearch): apply only supplied fields on partial UpdateDomainConfig
UpdateDomainConfig overwrote DedicatedMasterEnabled and ZoneAwarenessEnabled
unconditionally, and the ClusterConfig/EBSOptions parsers filled omitted
fields with model defaults. A partial block such as {"InstanceCount":5} or
{} reset dedicated master, zone awareness, instance type and count; a
partial EBSOptions reset VolumeType to gp2 and EBSEnabled to true.
The model fields are now boxed, the parsers leave omitted fields null, and
create and update share one merge that copies only non-null fields, so an
explicit false still turns a setting off. The legacy 2015-01-01 ES API
delegates to the same controller and is covered by the same fix.
* test(opensearch): drop internal tracker id from test comment