Skip to content

Commit

Permalink
fixed type assertion of component
Browse files Browse the repository at this point in the history
  • Loading branch information
purehyperbole committed Mar 29, 2017
1 parent 6451609 commit 83441e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generic.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func (m *component) getFoundComponents() []component {
components, ok := (*m)["components"].([]interface{})
if ok {
for _, x := range components {
c = append(c, x.(component))
c = append(c, x.(map[string]interface{}))
}
}

Expand Down

0 comments on commit 83441e0

Please sign in to comment.