coreos / issue-sync

A tool for synchronizing issue tracking between GitHub and JIRA
Apache License 2.0
124 stars 34 forks source link

Add a dummy config file in deployment to enable saving #19

Closed MorganEPatch closed 7 years ago

MorganEPatch commented 7 years ago

viper.ConfigFileUsed() is just a getter for the file that's set if we call viper.SetConfigFile(). If no config file is provided, because we're letting it use the default file, then viper.ConfigFileUsed() returns an empty string, which causes our SaveConfig() function to fail. This is a stopgap measure to fix our deployment until the problem can be properly solved.