diff --git a/private/model/api/eventstream_tmpl.go b/private/model/api/eventstream_tmpl.go index 116f175967a..64846cfaaa8 100644 --- a/private/model/api/eventstream_tmpl.go +++ b/private/model/api/eventstream_tmpl.go @@ -118,7 +118,7 @@ type {{ $esapi.Name }} struct { // is called. {{- end }} // -// es := New{{ $esapi.Name }}(func(o *{{ $esapi.Name}}{ +// es := New{{ $esapi.Name }}(func(o *{{ $esapi.Name}}){ {{- if $inputStream }} // es.Writer = myMockStreamWriter {{- end }}