summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/main.go b/main.go
index 582c0cc..11cbf7c 100644
--- a/main.go
+++ b/main.go
@@ -5,10 +5,12 @@ import (
"log"
)
+var config RuntimeConfig
+
func main() {
// read all sources of runtime configuration (e.g. CLI flags and config file)
- config := GetRuntimeConfig()
+ config = GetRuntimeConfig()
// print start message
log.Printf("Starting ceres with config file '%s'\n", config.Path)