Skip to content

Commit d7ddec1

Browse files
committed
fix compile
1 parent cc540bb commit d7ddec1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/transport/streamable_http.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ func (c *StreamableHTTP) Close() error {
163163
go func() {
164164
ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second)
165165
defer cancel()
166-
req, err := http.NewRequestWithContext(ctx, http.MethodDelete, c.serverURL.String(), nil)
166+
req, err := http.NewRequestWithContext(ctx, http.MethodDelete, c.baseURL.String(), nil)
167167
if err != nil {
168168
fmt.Printf("failed to create close request\n: %v", err)
169169
return

0 commit comments

Comments
 (0)