disaster37 / terraform-provider-kibana

Custom provider to handle Kibana API
MIT License
11 stars 21 forks source link

fix: filter empty lines when splitting ndjson #29

Closed kerwanp closed 2 years ago

kerwanp commented 2 years ago

In the func suppressEquivalentNDJSON(k, old, new string, d *schema.ResourceData) bool we check that the number of splices is the same.

Kibana will always return the result without any blank lines, but when importing we usually have at least one (for example when using EOF).

kerwanp commented 2 years ago

@disaster37

disaster37 commented 2 years ago

Thanks, i will look that