From 2d42cb3e55919f9441294741de927918599665b6 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 abc1f9488..764e17fb1 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 (