Open n3wscott opened 6 years ago
interesting update, using the current osb broker lib:
type CatalogResponse struct {
osb.CatalogResponse
}
and the same data, this worked:
err := yaml.Unmarshal([]byte(data), &response.CatalogResponse)
I just noticed that locally. It's an issue with the starter pack.
On Sat, Mar 24, 2018 at 1:13 PM, Scott Nichols notifications@github.com wrote:
interesting update, using the current osb broker lib:
type CatalogResponse struct { osb.CatalogResponse }
and the same data, this worked:
err := yaml.Unmarshal([]byte(data), &response.CatalogResponse)
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pmorie/osb-broker-lib/issues/34#issuecomment-375909102, or mute the thread https://github.com/notifications/unsubscribe-auth/AAWXmNCwUJeSyTtlVUc0uzXjHhyUyP4rks5thn6jgaJpZM4S50Dv .
With the following code from the stater pack:
or
and
Results:
It seems that this does not work as intended:
This works:
But not what was intended by the change I think