Skip to content

Commit

Permalink
Merge pull request #143 from proximax-storage/feat/health-cli
Browse files Browse the repository at this point in the history
Refine health cli
  • Loading branch information
ynewmann authored Aug 30, 2024
2 parents d6409b1 + 036cc28 commit 5cda7c0
Show file tree
Hide file tree
Showing 4 changed files with 392 additions and 274 deletions.
4 changes: 2 additions & 2 deletions tools/health/cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func main() {
log.Fatal(err)
}

err = pool.WaitAllHashesEqual(*height)
_, err = pool.CompareHashes(*height)
if err != nil {
log.Fatal(err)
}
Expand All @@ -60,7 +60,7 @@ func parseNodes(nodesStr string) ([]*health.NodeInfo, error) {
return nil, errors.New(ErrBadPair.Error() + ": " + endpointKeyPair)
}

ni, err := health.NewNodeInfo(pair[1], pair[0])
ni, err := health.NewNodeInfo(pair[1], pair[0], "")
if err != nil {
return nil, err
}
Expand Down
Loading

0 comments on commit 5cda7c0

Please sign in to comment.