diff --git a/README.md b/README.md index ac34402..269af1b 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ and the destination path (`/path/to/replica`) to where you want to replicate from and to. ```yaml -databases: +dbs: - path: "/path/to/db" replicas: - type: file diff --git a/cmd/litestream/main.go b/cmd/litestream/main.go index 2932504..6ff0d1e 100644 --- a/cmd/litestream/main.go +++ b/cmd/litestream/main.go @@ -104,7 +104,7 @@ type Config struct { Addr string `yaml:"addr"` // List of databases to manage. - DBs []*DBConfig `yaml:"databases"` + DBs []*DBConfig `yaml:"dbs"` } // DefaultConfig returns a new instance of Config with defaults set.