diff options
author | 2019-05-29 08:06:46 +0100 | |
---|---|---|
committer | 2019-05-29 08:06:45 +0100 | |
commit | 7dde3f3958f84413da5d306850cc4aa880fac512 (patch) | |
tree | 471184369b8c04280e1ab18d67870338fede2950 /plugin/kubernetes/object/object.go | |
parent | 4e6c2b41dbfee83d53a62c8c6b565dc901750a97 (diff) | |
download | coredns-7dde3f3958f84413da5d306850cc4aa880fac512.tar.gz coredns-7dde3f3958f84413da5d306850cc4aa880fac512.tar.zst coredns-7dde3f3958f84413da5d306850cc4aa880fac512.zip |
Fix for #2842, instead of returning the first Pod, return the one whi… (#2846)
* 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)
Diffstat (limited to 'plugin/kubernetes/object/object.go')
0 files changed, 0 insertions, 0 deletions