Skip to content

Commit 797179c

Browse files
authored
Merge pull request #4640 from ClickHouse/gingerwizard-patch-1
Fix curl command formatting in sample-data.md
2 parents 7399b3f + 713519f commit 797179c

File tree

1 file changed

+1
-1
lines changed
  • docs/use-cases/observability/clickstack/example-datasets

1 file changed

+1
-1
lines changed

docs/use-cases/observability/clickstack/example-datasets/sample-data.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ for filename in $(tar -tf sample.tar.gz); do
9393
endpoint="http://localhost:4318/v1/${filename%.json}"
9494
echo "loading ${filename%.json}"
9595
tar -xOf sample.tar.gz "$filename" | while read -r line; do
96-
echo "$line" | curl -s -o /dev/null -X POST "$endpoint" \
96+
printf '%s\n' "$line" | curl -s -o /dev/null -X POST "$endpoint" \
9797
-H "Content-Type: application/json" \
9898
-H "authorization: ${CLICKSTACK_API_KEY}" \
9999
--data-binary @-

0 commit comments

Comments
 (0)