mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-19 21:04:06 -07:00
Fixed JSON listing
This commit is contained in:
parent
260c303d84
commit
520f82304b
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ json_list_rrd() {
|
||||||
if [ "$i" -ne 1 ]; then
|
if [ "$i" -ne 1 ]; then
|
||||||
echo -e "\t},"
|
echo -e "\t},"
|
||||||
fi
|
fi
|
||||||
echo -e "\\t\"$i\""
|
echo -e "\\t\"$i\": {"
|
||||||
echo -e "\t\t\"TYPE\": \"$type\"",
|
echo -e "\t\t\"TYPE\": \"$type\"",
|
||||||
echo -e "\t\t\"RRD\": \"$rrd\""
|
echo -e "\t\t\"RRD\": \"$rrd\""
|
||||||
(( ++i))
|
(( ++i))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue