Skip to content

Commit 2d7a7c7

Browse files
committed
fix: update code snippet run example
1 parent f31f993 commit 2d7a7c7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

modules/yugabytedb/examples_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import (
1515
)
1616

1717
func ExampleRun() {
18+
// runyugabyteDBContainer {
1819
ctx := context.Background()
1920

2021
yugabytedbContainer, err := yugabytedb.Run(
@@ -36,6 +37,7 @@ func ExampleRun() {
3637
log.Printf("failed to terminate container: %s", err)
3738
}
3839
}()
40+
// }
3941

4042
state, err := yugabytedbContainer.State(ctx)
4143
if err != nil {

0 commit comments

Comments
 (0)