Merge pull request #745 from hashicorp/b-rkt-version-regex

Update Rkt regex to determine version
This commit is contained in:
Alex Dadgar 2016-02-02 15:55:50 -08:00
commit 931283c5e3

View file

@ -24,8 +24,8 @@ import (
)
var (
reRktVersion = regexp.MustCompile(`rkt version (\d[.\d]+)`)
reAppcVersion = regexp.MustCompile(`appc version (\d[.\d]+)`)
reRktVersion = regexp.MustCompile(`rkt [vV]ersion[:]? (\d[.\d]+)`)
reAppcVersion = regexp.MustCompile(`appc [vV]ersion[:]? (\d[.\d]+)`)
)
const (