Skip to content

Commit e9b9775

Browse files
committed
Update CreateSession call to include context parameter
1 parent f64f065 commit e9b9775

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1239,7 +1239,7 @@ if err := client.Start(ctx); err != nil {
12391239
defer client.Stop()
12401240

12411241
// Use the client normally
1242-
session, err := client.CreateSession()
1242+
session, err := client.CreateSession(ctx, nil)
12431243
// ...
12441244
```
12451245

0 commit comments

Comments
 (0)