From a9855d5ac39fe4573fd12843f46d97dc48f80f04 Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Sun, 14 Jan 2024 00:28:36 -0500 Subject: Fix config --- internal/configloader/configloader.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/configloader') diff --git a/internal/configloader/configloader.go b/internal/configloader/configloader.go index 281ed1f..c50ec24 100644 --- a/internal/configloader/configloader.go +++ b/internal/configloader/configloader.go @@ -27,11 +27,11 @@ var errConfigFileNotFound = errors.New( // This can come from the TOML file or environment variables, // with environment variables taking precedence. type Config struct { - Migrations MigrationsConfig `toml:"bolt.migrations"` + Migrations MigrationsConfig `toml:"migrations"` // Information related to how to connect to the database // that is desired to run migrations against. - Connection ConnectionConfig `toml:"bolt.db.connection"` + Connection ConnectionConfig `toml:"connection"` } type MigrationsConfig struct { -- cgit v1.2.3