You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
data := `
---
services:
- name: example-starter-pack-service
id: 4f6e6cf6-ffdd-425f-a2c7-3c9258ad246a
description: The example service from the osb starter pack!
`
err := yaml.Unmarshal([]byte(data), &response)
Results:
Broker: &{CatalogResponse:{Services:[]}}
OSB: &{Services:[{ID:4f6e6cf6-ffdd-425f-a2c7-3c9258ad246a Name:example-starter-pack-service Description:The example service from the osb starter pack! Tags:[] Requires:[] Bindable:false BindingsRetrievable:false PlanUpdatable:<nil> Plans:[] DashboardClient:<nil> Metadata:map[]}]}
It seems that this does not work as intended:
type CatalogResponse struct {
osb.CatalogResponse
}
This works:
type CatalogResponse osb.CatalogResponse
But not what was intended by the change I think
The text was updated successfully, but these errors were encountered:
On Sat, Mar 24, 2018 at 1:13 PM, Scott Nichols ***@***.***> 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
<#34 (comment)>,
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
The text was updated successfully, but these errors were encountered: