From 490df4f5feefd74eeecd69db07088afadf9706e2 Mon Sep 17 00:00:00 2001 From: Noah Hsu Date: Mon, 27 Jun 2022 14:01:15 +0800 Subject: [PATCH] fix: typo of environment variable (close #1280) --- internal/conf/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/conf/config.go b/internal/conf/config.go index d4facb4467e..d7105318737 100644 --- a/internal/conf/config.go +++ b/internal/conf/config.go @@ -13,7 +13,7 @@ type Database struct { Name string `json:"name" env:"DB_NAME"` DBFile string `json:"db_file" env:"DB_FILE"` TablePrefix string `json:"table_prefix" env:"DB_TABLE_PREFIX"` - SslMode string `json:"ssl_mode" env:"DB_SLL_MODE"` + SSLMode string `json:"ssl_mode" env:"DB_SSL_MODE"` } type Scheme struct {