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:
parent
4c54a003fa
commit
87a4d73556
6 changed files with 18 additions and 31 deletions
10
version.go
10
version.go
|
@ -1,10 +0,0 @@
|
|||
package main
|
||||
|
||||
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"
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue