Skip to content

Commit 3e060b1

Browse files
committed
fix: missing _ imports rqeuired to decode measurement.json
These imports were accidentally removed by me in 6e9b62f; added a comment to explain why they are needed.
1 parent a29e0cc commit 3e060b1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cmd/plot/main.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ import (
99
"time"
1010

1111
"github.com/relab/hotstuff/metrics/plotting"
12+
13+
// ensure proto messages are registered so that they can be decoded from measurement.json files
14+
_ "github.com/relab/hotstuff/internal/proto/orchestrationpb"
15+
_ "github.com/relab/hotstuff/metrics/types"
1216
)
1317

1418
var (

0 commit comments

Comments
 (0)