Closed benbjohnson closed 9 months ago
This pull request makes a few changes to the GET /info endpoint:
GET /info
primary
isPrimary
hostname
id
$ curl http://localhost:20203/info { "clusterID": "LFSC41164AE6B247A5DB", "isPrimary": false, "candidate": true, "path": "/var/lib/litefs", "primary": { "hostname": "node123" } }
This pull request makes a few changes to the
GET /info
endpoint:primary
toisPrimary
primary
object with ahostname
field to show the current known primary node.id
fieldUsage