We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4726e5 commit 9e78ed3Copy full SHA for 9e78ed3
docs/latest/modules/en/attachments/suse-observability_logs_collector.sh
@@ -270,7 +270,7 @@ EOF
270
}
271
EOF
272
ts=$(jq -r '.hits.hits[-1].sort[0]' $TEMP)
273
- if [ "$ts" != "null" ]; then
+ if [ "$ts" != "null" ] && [ "$ts" != "" ]; then
274
from=$(($ts / 1000000))
275
else
276
from=""
@@ -389,7 +389,6 @@ collect_workload_observer_data
389
if $HELM_RELEASES; then
390
collect_helm_releases
391
fi
392
-if $ELASTICSEARCH_LOGS; then
393
if $ELASTICSEARCH_LOGS; then
394
collect_pod_logs_from_elasticsearch
395
0 commit comments