Skip to content
This repository has been archived by the owner on Jul 25, 2023. It is now read-only.

dashboard import fails for large body #7

Merged
merged 1 commit into from Jan 19, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion entrypoint.sh
Expand Up @@ -28,7 +28,7 @@ import_data() {
set -e
echo " "
echo $1
curl -s -S -H 'Content-Type:application/json' -u $GF_USER:$GF_PASSWORD --data-raw "$2" ${GF_API}$3
echo "$2" | curl -s -S -H 'Content-Type:application/json' -u $GF_USER:$GF_PASSWORD --data @- ${GF_API}$3
echo " "
set +e
}
Expand Down