From 44994ced33a47841eee0f7b00c1c9b3cbfd54887 Mon Sep 17 00:00:00 2001
From: Juned Memon <juned.memon@reancloud.com>
Date: Wed, 13 Sep 2017 04:31:43 +0530
Subject: [PATCH] Fixed issue of The controls for master - admission control
 showing wrong status #49

---
 check/test.go | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/check/test.go b/check/test.go
index 06c1b93..eaf0a12 100644
--- a/check/test.go
+++ b/check/test.go
@@ -62,7 +62,8 @@ func (t *testItem) execute(s string) (result bool) {
 			// --flag=somevalue
 			// --flag
 			// somevalue
-			pttn := `(` + t.Flag + `)(=)*([^\s,]*) *`
+			//pttn := `(` + t.Flag + `)(=)*([^\s,]*) *`
+			pttn := `(` + t.Flag + `)(=)*([^\s]*) *`
 			flagRe := regexp.MustCompile(pttn)
 			vals := flagRe.FindStringSubmatch(s)
 
-- 
GitLab