summaryrefslogtreecommitdiff
path: root/version.go
diff options
context:
space:
mode:
Diffstat (limited to 'version.go')
-rw-r--r--version.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/version.go b/version.go
index 94ee141..f9a997e 100644
--- a/version.go
+++ b/version.go
@@ -4,10 +4,10 @@ import (
"log"
)
-var gitDescribe string
+var version string
func init() {
- if gitDescribe == "" {
+ if version == "" {
log.Fatal("No version information passed to this via build flags")
}
}