terraform-coop / terraform-provider-foreman

Terraform provider for Foreman
https://registry.terraform.io/providers/terraform-coop/foreman
Mozilla Public License 2.0
33 stars 31 forks source link

client: fix foreman parameters conversion #77

Closed MrFreezeex closed 2 years ago

MrFreezeex commented 2 years ago

make() was allocating empty parameters and then we were adding the real entries after those empty one. In this commit we simply remove make and construct the slice dynamically with append.

Signed-off-by: Arthur Outhenin-Chalandre arthur.outhenin-chalandre@cern.ch

Fixes #76