forked from Ivasoft/traefik
Move version.go in its own package…
… making it possible to use in other packages ; and thus in the User-Agent header for the docker client. Also removing the dockerverion hack as it's not required anymore. Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
10
version/version.go
Normal file
10
version/version.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package version
|
||||
|
||||
var (
|
||||
// Version holds the current version of traefik.
|
||||
Version = "dev"
|
||||
// Codename holds the current version codename of traefik.
|
||||
Codename = "cheddar" // beta cheese
|
||||
// BuildDate holds the build date of traefik.
|
||||
BuildDate = "I don't remember exactly"
|
||||
)
|
||||
Reference in New Issue
Block a user