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

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

commit e2d259a81e64dd5e79aded712ce7a9fcf22b78c2
Author: Antonin Stefanutti <[email protected]>
AuthorDate: Wed Dec 2 17:13:33 2020 +0100

    chore(doc): Add missing -L1 option to SOPs commands using xargs
---
 docs/modules/ROOT/pages/troubleshooting/operating.adoc | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/docs/modules/ROOT/pages/troubleshooting/operating.adoc 
b/docs/modules/ROOT/pages/troubleshooting/operating.adoc
index 68ea05f..efedec1 100644
--- a/docs/modules/ROOT/pages/troubleshooting/operating.adoc
+++ b/docs/modules/ROOT/pages/troubleshooting/operating.adoc
@@ -65,7 +65,7 @@ $ kubectl logs deployment/camel-k-operator --since=1h \
 | unique
 | .[]
 | "-n \(.namespace) \(.controller | rtrimstr("-controller"))/\(.name)"' \
-| xargs kubectl describe
+| xargs -L1 kubectl describe
 ----
 Check the resource specification and events.
 
@@ -91,7 +91,7 @@ $ kubectl get builds.camel.apache.org -o json \
   | "01-Jan-1970 \(sub("(?<time>.*)\\..*"; "\(.time)s"))" | strptime("%d-%b-%Y 
%Mm%Ss")? // strptime("%d-%b-%Y %Ss")
   | mktime > 120)
 | "-n \(.metadata.namespace) builds.camel.apache.org/\(.metadata.name)"' \
-| xargs kubectl describe
+| xargs -L1 kubectl describe
 ----
 Check the resource specification and events.
 
@@ -117,7 +117,7 @@ $ kubectl get builds.camel.apache.org -o json \
   | "01-Jan-1970 \(sub("(?<time>.*)\\..*"; "\(.time)s"))" | strptime("%d-%b-%Y 
%Mm%Ss")? // strptime("%d-%b-%Y %Ss")
   | mktime > 300)
 | "-n \(.metadata.namespace) builds.camel.apache.org/\(.metadata.name)"' \
-| xargs kubectl describe
+| xargs -L1 kubectl describe
 ----
 Check the resource specification and events.
 
@@ -140,7 +140,7 @@ $ kubectl get builds.camel.apache.org -o json \
 | jq -r '.items[]
 | select(.status.phase == "Error")
 | "-n \(.metadata.namespace) builds.camel.apache.org/\(.metadata.name)"' \
-| xargs kubectl get -o 
jsonpath='{.metadata.namespace}{"/"}{.metadata.name}{"\nError: 
"}{.status.error}{"\n"}'
+| xargs -L1 kubectl get -o 
jsonpath='{.metadata.namespace}{"/"}{.metadata.name}{"\nError: 
"}{.status.error}{"\n"}'
 ----
 Check the resource specification and events.
 

Reply via email to