Skip to content

Commit

Permalink
fix log response
Browse files Browse the repository at this point in the history
  • Loading branch information
yukikurage committed Jul 12, 2022
1 parent 510507a commit 54c34d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/benchmark.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ func lastBenchmarkResultFromBinary(wires []byte) (*isuxportalResources.Benchmark
// 各データの先頭2byteはデータのサイズ
size = int(binary.BigEndian.Uint16(wires[head : head+2]))
next := head + 2 + size
if next+2 >= len(wires) {
if next == len(wires) {
break
}
head = next
Expand Down

0 comments on commit 54c34d4

Please sign in to comment.