Skip to content

Commit

Permalink
fixing bug regarding eventstream suppression (#2047)
Browse files Browse the repository at this point in the history
  • Loading branch information
xibz committed Jul 11, 2018
1 parent 8e8d35c commit c01ebd0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions private/model/api/shape.go
Original file line number Diff line number Diff line change
Expand Up @@ -645,6 +645,7 @@ type {{ .ShapeName }} struct {
{{ end }}
{{ end }}
{{ if .API.HasEventStream -}}
{{ if $.EventStreamsMemberName }}
{{ template "eventStreamAPILoopMethodTmpl" $ }}
{{ end }}
Expand All @@ -655,6 +656,7 @@ type {{ .ShapeName }} struct {
{{- if $.Exception }}
{{ template "eventStreamExceptionEventShapeTmpl" $ }}
{{ end -}}
{{ end -}}
{{ end }}
`

Expand Down

0 comments on commit c01ebd0

Please sign in to comment.