lnx-search / datacake

Tooling for creating your own distributed systems.
MIT License
394 stars 21 forks source link

Correctly pass the command line node_id arugment #53

Closed ltransom closed 1 year ago

ltransom commented 1 year ago

Overview:

Prior to the fix, trying to start a cluster as described in the readme would fail as each node would effectively initialize as node 1, irrespective of the command line argument.

Description of changes

Very simple fix that changes a hard coded value of 1 during node creation to using the node_id argument passed by the command line.

Testing

Closes #52