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:
authorBalasankar "Balu" C <balasankarc@autistici.org>2021-03-01 08:58:34 +0300
committerBalasankar "Balu" C <balasankarc@autistici.org>2021-03-01 08:58:34 +0300
commit2e9503fff8dfbc34399264e28a0738eab565fe9d (patch)
tree48cee9ef470699df0f28df0b9a7ca726887f252f /main.go
parentf8a1639beb6cbaf2f63f42ba362be4a4c9294a97 (diff)
Use actual structs in Config struct instead of pointers to them
Signed-off-by: Balasankar "Balu" C <balasankarc@autistici.org>
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 94cc597f..441b3a74 100644
--- a/main.go
+++ b/main.go
@@ -144,7 +144,7 @@ func createAppListeners(config *cfg.Config) []io.Closer {
httpsProxyv2Listeners = append(httpsProxyv2Listeners, f.Fd())
}
- config.Listeners = &cfg.Listeners{
+ config.Listeners = cfg.Listeners{
HTTP: httpListeners,
HTTPS: httpsListeners,
Proxy: proxyListeners,