From 5ef1596d655c83f95a523fc40b81a8df43a6f3c2 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Thu, 27 May 2021 19:59:33 -0700 Subject: [PATCH] Remove extra references to config file --- config/config.go | 3 --- main.go | 2 -- 2 files changed, 5 deletions(-) diff --git a/config/config.go b/config/config.go index 33b2e0076..20e05e8ff 100644 --- a/config/config.go +++ b/config/config.go @@ -27,9 +27,6 @@ var WebServerIP = "0.0.0.0" // InternalHLSListenerPort is the port for HLS writes that is used for this execution of the service. var InternalHLSListenerPort = "8927" -// ConfigFilePath is the path to the config file for migration. -var ConfigFilePath = "config.yaml" - // GitCommit is an optional commit this build was made from. var GitCommit = "" diff --git a/main.go b/main.go index 88e622386..1568be5e9 100644 --- a/main.go +++ b/main.go @@ -33,7 +33,6 @@ func main() { // Enable bundling of admin assets _ = pkger.Include("/admin") - configFile := flag.String("configFile", "config.yaml", "Config file path to migrate to the new database") dbFile := flag.String("database", "", "Path to the database file.") logDirectory := flag.String("logdir", "", "Directory where logs will be written to") enableDebugOptions := flag.Bool("enableDebugFeatures", false, "Enable additional debugging options.") @@ -46,7 +45,6 @@ func main() { flag.Parse() - config.ConfigFilePath = *configFile config.VersionNumber = BuildVersion if GitCommit != "" { config.GitCommit = GitCommit