In a previous PR I added support for the Costs convention in ServicePlan metadata. Unfortunately, the JSON returned capitalises the keys "Amount" and "Unit", but sadly, some consumers require these keys to be lower-case. This is a trivial fix (changing the annotation on the struct is enough).
In a previous PR I added support for the Costs convention in ServicePlan metadata. Unfortunately, the JSON returned capitalises the keys "Amount" and "Unit", but sadly, some consumers require these keys to be lower-case. This is a trivial fix (changing the annotation on the struct is enough).
https://github.com/awslabs/aws-servicebroker/blob/d5eed7caab7ce0f5f11b2ba628b7e04f0930d10d/pkg/broker/types.go#L209 https://github.com/awslabs/aws-servicebroker/blob/d5eed7caab7ce0f5f11b2ba628b7e04f0930d10d/pkg/broker/types.go#L210