Fixing micro logs being follow by default against k8s (#1866)

This commit is contained in:
Janos Dobronszki
2020-07-23 09:50:38 +02:00
committed by GitHub
parent a3a7434f2c
commit fbdf1f2c1c
2 changed files with 19 additions and 17 deletions

View File

@@ -102,7 +102,6 @@ func (k *klog) Read(options ...log.ReadOption) ([]log.Record, error) {
for _, o := range options {
o(opts)
}
pods, err := k.getMatchingPods()
if err != nil {
return nil, err