From acafd894da0e8265b210974d4eb53b95c2b19694 Mon Sep 17 00:00:00 2001 From: Alex Dadgar Date: Tue, 2 Feb 2016 15:39:45 -0800 Subject: [PATCH] update the regex --- client/driver/rkt.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/driver/rkt.go b/client/driver/rkt.go index abc1f9488f46..764e17fb1952 100644 --- a/client/driver/rkt.go +++ b/client/driver/rkt.go @@ -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 (