• Andras Spitzer's avatar
    Fix for #2842, instead of returning the first Pod, return the one whi… (#2846) · 7dde3f39
    Andras Spitzer authored
    * Fix for #2842, instead of returning the first Pod, return the one which is Running
    
    * a more memory efficient version of the fix, string -> bool
    
    * fix with no extra fields in struct, return nil at Pod conversion if Pod is not Running
    
    * let Kuberneretes filter for Running Pods using FieldSelector
    
    * filter for Pods that are Running and Pending (implicit)
    7dde3f39
watch.go 1.66 KB