Skip to content

Commit 7108db7

Browse files
committed
Use IsStreaming() instead of NoStreamKind
1 parent 6e439db commit 7108db7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

testing/codegen/harness.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ func testingPath(_ string, svc *expr.ServiceExpr) string {
206206
// hasStreams checks if the service has streaming methods.
207207
func hasStreams(svc *expr.ServiceExpr) bool {
208208
for _, m := range svc.Methods {
209-
if m.Stream != expr.NoStreamKind {
209+
if m.IsStreaming() {
210210
return true
211211
}
212212
}

0 commit comments

Comments
 (0)