Thread Array in Variable (15 answers)
Opened by NetFritz at 2015-11-30 19:12

NetFritz
 2015-11-30 23:14
#183084 #183084
User since
2015-03-05
10 Artikel
BenutzerIn
[default_avatar]
Hallo
Zeile 47 in rrd_fetch.pl
Code: (dl )
1
2
3
4
5
6
7
$ix->write_points(
data => {
name => "test",
columns => [qw(time forecast)],
points => \@rrd_array,
},
) or die "write_points: " . $ix->errstr;

@rrd_array =
Code: (dl )
1
2
3
4
5
6
7
[
[1445407200, 17.11 ],
[1445410800, 28.96 ],
[1445414400, 60.55 ],
[1445418000, 114.51 ],
[1445410800, 137.94 ],
],

Fehler:json: cannot unmarshal string into Go value of type []interface {} at ./rrd_fetch.pl line 47.
Wie kann ich @rrd_fetch intrigieren?
Gruß NetFritz

View full thread Array in Variable