Skip to content

Commit

Permalink
Update MIGRATION_v2_v3.md
Browse files Browse the repository at this point in the history
  • Loading branch information
asmyasnikov authored Nov 13, 2024
1 parent bd9b1e0 commit d4f0156
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MIGRATION_v2_v3.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
)
...
db, err := ydb.Open(ctx,
sugar.DSN(cfg.Endpoint, cfg.Database, cfg.Secure)
sugar.DSN(cfg.Endpoint, cfg.Database, sugar.WithSecure(cfg.Secure))
)
if err != nil {
// error fallback
Expand Down Expand Up @@ -374,4 +374,4 @@ In this case query must be changed for supporting pagination. Truncated flag in
)
```
See additional docs in [code recipes](https://ydb.tech/docs/reference/ydb-sdk/recipes/).
See additional docs in [code recipes](https://ydb.tech/docs/reference/ydb-sdk/recipes/).

0 comments on commit d4f0156

Please sign in to comment.