diff options
author | feistel <6742251-feistel@users.noreply.gitlab.com> | 2021-04-28 04:40:27 +0300 |
---|---|---|
committer | Jaime Martinez <jmartinez@gitlab.com> | 2021-04-28 04:40:27 +0300 |
commit | 75bcb4dc938e0e8ad4224d102b2ba8057fe34aaf (patch) | |
tree | 1a28728d43f89b6e0398240a2824848d661e4583 /app_test.go | |
parent | 8add308dfab8173282566ca053d8b3bb5219945c (diff) |
Handle and return errors in internal/config/
Diffstat (limited to 'app_test.go')
-rw-r--r-- | app_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app_test.go b/app_test.go index b7e9a01c..48c981cf 100644 --- a/app_test.go +++ b/app_test.go @@ -84,7 +84,8 @@ func TestHealthCheckMiddleware(t *testing.T) { }, } - cfg := config.LoadConfig() + cfg, err := config.LoadConfig() + require.NoError(t, err) cfg.General.StatusPath = "/-/healthcheck" cfg.General.DomainConfigurationSource = "auto" |