diff options
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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) |