canonical / gomaasclient

Go MAAS client
Apache License 2.0
19 stars 27 forks source link

Fix parsing of power parameters #16

Closed skatsaounis closed 11 months ago

skatsaounis commented 11 months ago

Update power parameters to be map[string]interface{} instead of map[string]string to cover all type of parameters.

Being more specific, power parameters can also contain a key to []string as it is happening with IPMI workaround_flags. This PR makes sure that a machine with IPMI can also be created/updated and that its power parameters can be fetched without an issue.