You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2020/06/26 12:31:25 UTC

[camel-k] branch master updated: fix(util): line break after "Monitoring pod ..." message

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 0862cab  fix(util): line break after "Monitoring pod ..." message
     new a8d4ac3  Merge pull request #1554 from tadayosi/master
0862cab is described below

commit 0862cabf326b024047adfbc799f44c6819daf053
Author: Tadayoshi Sato <sa...@gmail.com>
AuthorDate: Wed Jun 24 19:17:29 2020 +0900

    fix(util): line break after "Monitoring pod ..." message
---
 pkg/util/kubernetes/log/annotation_scraper.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkg/util/kubernetes/log/annotation_scraper.go b/pkg/util/kubernetes/log/annotation_scraper.go
index adc5f1a..0789a57 100644
--- a/pkg/util/kubernetes/log/annotation_scraper.go
+++ b/pkg/util/kubernetes/log/annotation_scraper.go
@@ -137,7 +137,7 @@ func (s *SelectorScraper) addPodScraper(ctx context.Context, podName string, out
 	go func() {
 		defer podCancel()
 
-		if _, err := out.WriteString(prefix + "Monitoring pod " + podName); err != nil {
+		if _, err := out.WriteString(prefix + "Monitoring pod " + podName + "\n"); err != nil {
 			s.L.Error(err, "Cannot write to output")
 			return
 		}