add status query
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user