diff options
author | Rasmus Dahlberg <rasmus.dahlberg@kau.se> | 2021-03-23 15:38:14 +0100 |
---|---|---|
committer | Rasmus Dahlberg <rasmus.dahlberg@kau.se> | 2021-03-23 15:38:14 +0100 |
commit | 530f1ac53cf4057de39225a21e910f10fb8ab62f (patch) | |
tree | 0f0344dc7725ae96a8f6defd4b4cb04df3f686c2 /internal/node/handler/metric.go | |
parent | 0836152aed30145bb133c86c0360587bb8797fb3 (diff) |
fixed copy bug
The get-entries response was copied incorrectly. Therefore, the
returned range contained the same (last) StItem repeatedly. Fixed by
ensuring that `&item` refers to a newly allocated `item` in the loop.
Diffstat (limited to 'internal/node/handler/metric.go')
0 files changed, 0 insertions, 0 deletions