Rename 'databases' to 'dbs' in config
This commit is contained in:
@@ -22,7 +22,7 @@ and the destination path (`/path/to/replica`) to where you want to replicate
|
|||||||
from and to.
|
from and to.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
databases:
|
dbs:
|
||||||
- path: "/path/to/db"
|
- path: "/path/to/db"
|
||||||
replicas:
|
replicas:
|
||||||
- type: file
|
- type: file
|
||||||
|
|||||||
@@ -104,7 +104,7 @@ type Config struct {
|
|||||||
Addr string `yaml:"addr"`
|
Addr string `yaml:"addr"`
|
||||||
|
|
||||||
// List of databases to manage.
|
// List of databases to manage.
|
||||||
DBs []*DBConfig `yaml:"databases"`
|
DBs []*DBConfig `yaml:"dbs"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// DefaultConfig returns a new instance of Config with defaults set.
|
// DefaultConfig returns a new instance of Config with defaults set.
|
||||||
|
|||||||
Reference in New Issue
Block a user