This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch pod_scraper
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit ed731913ec4c3f83205691b6c09133769fd0e87a
Author: Andrea Cosentino <anco...@gmail.com>
AuthorDate: Tue Sep 25 15:24:01 2018 +0200

    Removed unreachable code in pod_scraper.go
---
 pkg/util/log/pod_scraper.go | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/pkg/util/log/pod_scraper.go b/pkg/util/log/pod_scraper.go
index 798f5b7..85e9d33 100644
--- a/pkg/util/log/pod_scraper.go
+++ b/pkg/util/log/pod_scraper.go
@@ -20,17 +20,18 @@ package log
 import (
        "bufio"
        "context"
+       "io"
+       "time"
+
        "github.com/operator-framework/operator-sdk/pkg/k8sclient"
        "github.com/operator-framework/operator-sdk/pkg/util/k8sutil"
        "github.com/pkg/errors"
        "github.com/sirupsen/logrus"
-       "io"
        "k8s.io/api/core/v1"
        metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
        "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
        "k8s.io/apimachinery/pkg/runtime"
        "k8s.io/apimachinery/pkg/watch"
-       "time"
 )
 
 // PodScraper scrapes logs of a specific pod
@@ -171,5 +172,4 @@ func (s *PodScraper) waitForPodRunning(ctx context.Context, 
namespace string, na
                }
        }
 
-       return nil
 }

Reply via email to