提交 43217d16 编写于 作者: R runzexia 提交者: zryfish

add status query

上级 f1899fe0
...@@ -41,6 +41,10 @@ func (*s2iRunSearcher) match(match map[string]string, item *v1alpha1.S2iRun) boo ...@@ -41,6 +41,10 @@ func (*s2iRunSearcher) match(match map[string]string, item *v1alpha1.S2iRun) boo
if item.Name != v && item.Labels[displayName] != v { if item.Name != v && item.Labels[displayName] != v {
return false return false
} }
case status:
if string(item.Status.RunState) != v{
return false
}
default: default:
return false return false
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册