fabric8-services / fabric8-jenkins-proxy

Apache License 2.0
1 stars 16 forks source link

Deprecate idler.IsIdle method in favour of the new status api #270

Closed sthaha closed 6 years ago

sthaha commented 6 years ago

Proxy uses ! idler.IsIdle() to check if pods are running but that is wrong as IsIdle can return false if pods are just starting or terminating. Hence lets use the new api in idler status to check if the Pods are actually running.