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-02-23 07:43:46 +0300
committerBalasankar "Balu" C <balasankarc@autistici.org>2021-03-01 08:35:59 +0300
commitd3ff9ad5d3d110293ecc74cdc226bd7f4cbb97f7 (patch)
tree43b83105a30617773d5b06f64770f5687c3312ef /daemon.go
parent42edf664d261d680c9ddeba68ce5058c4e59d3c1 (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 'daemon.go')
-rw-r--r--daemon.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon.go b/daemon.go
index cec460a2..27f77179 100644
--- a/daemon.go
+++ b/daemon.go
@@ -48,7 +48,7 @@ func daemonMain() {
if err := json.NewDecoder(os.NewFile(3, "options")).Decode(&config); err != nil {
fatal(err, "could not decode app config")
}
- runApp(config)
+ runApp(&config)
os.Exit(0)
}