add status query

This commit is contained in:
runzexia
2019-03-28 11:25:55 +08:00
committed by zryfish
parent f1899fe044
commit 43217d16a3

View File

@@ -41,6 +41,10 @@ func (*s2iRunSearcher) match(match map[string]string, item *v1alpha1.S2iRun) boo
if item.Name != v && item.Labels[displayName] != v {
return false
}
case status:
if string(item.Status.RunState) != v{
return false
}
default:
return false
}