Skip to content

Commit

Permalink
For testing purpose, to remove
Browse files Browse the repository at this point in the history
  • Loading branch information
essobedo committed Feb 15, 2023
1 parent b462918 commit c4b6d90
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions e2e/support/util/dump.go
Original file line number Diff line number Diff line change
Expand Up @@ -255,12 +255,12 @@ func dumpLogs(ctx context.Context, c client.Client, prefix string, ns string, na
logOptions := &corev1.PodLogOptions{
Container: container,
}

if os.Getenv("CAMEL_K_TEST_LOG_LEVEL") != "debug" {
// If not in debug mode then curtail the dumping of log lines
lines := int64(50)
logOptions.TailLines = &lines
}
/*
if os.Getenv("CAMEL_K_TEST_LOG_LEVEL") != "debug" {
// If not in debug mode then curtail the dumping of log lines
lines := int64(50)
logOptions.TailLines = &lines
}*/

stream, err := c.CoreV1().Pods(ns).GetLogs(name, logOptions).Stream(ctx)
if err != nil {
Expand Down

0 comments on commit c4b6d90

Please sign in to comment.