Skip to content

Commit

Permalink
fix: update code snippet run example
Browse files Browse the repository at this point in the history
  • Loading branch information
mdelapenya committed Oct 18, 2024
1 parent f31f993 commit 2d7a7c7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/yugabytedb/examples_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import (
)

func ExampleRun() {
// runyugabyteDBContainer {
ctx := context.Background()

yugabytedbContainer, err := yugabytedb.Run(
Expand All @@ -36,6 +37,7 @@ func ExampleRun() {
log.Printf("failed to terminate container: %s", err)
}
}()
// }

state, err := yugabytedbContainer.State(ctx)
if err != nil {
Expand Down

0 comments on commit 2d7a7c7

Please sign in to comment.