Fix merging of -datasource.json files
The merge was missing a new line at the end of the merge, so only the first datasource was being put into the ConfigMap.
This commit is contained in:
@@ -199,6 +199,7 @@ addArrayToConfigMap() {
|
|||||||
|
|
||||||
# Dashboard foot
|
# Dashboard foot
|
||||||
test "$type" = "dashboard" && cat $DASHBOARD_FOOT_FILE
|
test "$type" = "dashboard" && cat $DASHBOARD_FOOT_FILE
|
||||||
|
[ "$(tail -c 1 "$file")" ] && echo
|
||||||
done
|
done
|
||||||
echo "---"
|
echo "---"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user