Commit d8f3b32
committed
Fix StreamCancelFn type definition
StreamCancelFn was incorrectly defined as func() but is actually used as func(context.Context) error throughout the codebase.
This caused build failures in multiple places:
- wshclientutil.go:66: cannot use func(ctx context.Context) error as func() value
- web.go:255: cannot use func() as func(context.Context) error value
Fixed by correcting the type definition in wshrpctypes.go to match actual usage.
Fixes build errors introduced in #27091 parent 90011a7 commit d8f3b32
2 files changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
67 | | - | |
| 66 | + | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
373 | 373 | | |
374 | 374 | | |
375 | 375 | | |
376 | | - | |
| 376 | + | |
377 | 377 | | |
378 | 378 | | |
379 | 379 | | |
| |||
0 commit comments