Skip to content

Commit d4f0156

Browse files
authored
Update MIGRATION_v2_v3.md
1 parent bd9b1e0 commit d4f0156

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

MIGRATION_v2_v3.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
)
5050
...
5151
db, err := ydb.Open(ctx,
52-
sugar.DSN(cfg.Endpoint, cfg.Database, cfg.Secure)
52+
sugar.DSN(cfg.Endpoint, cfg.Database, sugar.WithSecure(cfg.Secure))
5353
)
5454
if err != nil {
5555
// error fallback
@@ -374,4 +374,4 @@ In this case query must be changed for supporting pagination. Truncated flag in
374374
)
375375
```
376376

377-
See additional docs in [code recipes](https://ydb.tech/docs/reference/ydb-sdk/recipes/).
377+
See additional docs in [code recipes](https://ydb.tech/docs/reference/ydb-sdk/recipes/).

0 commit comments

Comments
 (0)