Skip to content

Commit 79b3d10

Browse files
committed
fix inconsistent variable names in usage example
1 parent ef4a000 commit 79b3d10

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,15 @@ dependencies {
4545

4646
## Usage
4747

48-
val databaseRestorer = DatabaseRestorer(
48+
val restorer = DatabaseRestorer(
4949
databaseName = "postgres",
5050
host = "localhost",
5151
port = 5432,
5252
user = "postgres",
5353
password = "postgres"
5454
)
5555

56-
databaseRestorer.takeSnapshot()
56+
restorer.takeSnapshot()
5757

5858
// later call this to restore to the state when you called snapshot
5959
restorer.restore()

0 commit comments

Comments
 (0)