Add version string to config endpoint

This commit is contained in:
Gabe Kangas
2020-06-30 17:48:26 -07:00
parent 85cec76445
commit 1f51ef9668
4 changed files with 10 additions and 6 deletions

View File

@@ -34,7 +34,7 @@ func main() {
logrus.SetReportCaller(true)
}
if err := config.Load(*configFile); err != nil {
if err := config.Load(*configFile, getVersion()); err != nil {
panic(err)
}