diff options
author | Balasankar "Balu" C <balasankarc@autistici.org> | 2021-02-23 07:43:46 +0300 |
---|---|---|
committer | Balasankar "Balu" C <balasankarc@autistici.org> | 2021-03-01 08:35:59 +0300 |
commit | d3ff9ad5d3d110293ecc74cdc226bd7f4cbb97f7 (patch) | |
tree | 43b83105a30617773d5b06f64770f5687c3312ef /app_test.go | |
parent | 42edf664d261d680c9ddeba68ce5058c4e59d3c1 (diff) |
Pass address of Config to app class and make the config field explicit
Signed-off-by: Balasankar "Balu" C <balasankarc@autistici.org>
Diffstat (limited to 'app_test.go')
-rw-r--r-- | app_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app_test.go b/app_test.go index 1414623a..b7e9a01c 100644 --- a/app_test.go +++ b/app_test.go @@ -89,10 +89,10 @@ func TestHealthCheckMiddleware(t *testing.T) { cfg.General.DomainConfigurationSource = "auto" app := theApp{ - Config: cfg, + config: cfg, } - domains, err := source.NewDomains(app.Config) + domains, err := source.NewDomains(app.config) require.NoError(t, err) app.domains = domains |