forked from Ivasoft/traefik
Move version info in its own file.
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
@@ -28,8 +28,6 @@ import (
|
||||
)
|
||||
|
||||
var (
|
||||
Version = ""
|
||||
BuildDate = ""
|
||||
globalConfigFile = kingpin.Arg("conf", "Main configration file.").Default("traefik.toml").String()
|
||||
version = kingpin.Flag("version", "Get Version.").Short('v').Bool()
|
||||
currentConfigurations = make(configs)
|
||||
|
||||
6
version.go
Normal file
6
version.go
Normal file
@@ -0,0 +1,6 @@
|
||||
package main
|
||||
|
||||
var (
|
||||
Version = ""
|
||||
BuildDate = ""
|
||||
)
|
||||
Reference in New Issue
Block a user