Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfeistel <6742251-feistel@users.noreply.gitlab.com>2021-04-28 04:40:27 +0300
committerJaime Martinez <jmartinez@gitlab.com>2021-04-28 04:40:27 +0300
commit75bcb4dc938e0e8ad4224d102b2ba8057fe34aaf (patch)
tree1a28728d43f89b6e0398240a2824848d661e4583 /app_test.go
parent8add308dfab8173282566ca053d8b3bb5219945c (diff)
Handle and return errors in internal/config/
Diffstat (limited to 'app_test.go')
-rw-r--r--app_test.go3
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"