Skip to content

Commit

Permalink
Merge pull request #745 from hashicorp/b-rkt-version-regex
Browse files Browse the repository at this point in the history
Update Rkt regex to determine version
  • Loading branch information
dadgar committed Feb 2, 2016
2 parents 5d7acea + acafd89 commit 7400bc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/driver/rkt.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down

0 comments on commit 7400bc0

Please sign in to comment.