From 9828b4c1dd2e37bc389efde39660fdd137394e48 Mon Sep 17 00:00:00 2001 From: Ben Johnson Date: Sun, 10 Jan 2021 10:04:07 -0700 Subject: [PATCH] Rename 'databases' to 'dbs' in config --- README.md | 2 +- cmd/litestream/main.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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.