Reconcile, clean up, and centralize API version numbers (major and minor).

Reduce future confusion by introducing a minor version that is gossiped out
via the `mvn` Serf tag (Minor Version Number, `vsn` is already being used for
to communicate `Major Version Number`).

Background: hashicorp/consul/issues/1346#issuecomment-151663152
This commit is contained in:
Sean Chittenden
2016-05-27 18:14:34 -07:00
parent b2357598ba
commit ab99e89bd9
15 changed files with 98 additions and 80 deletions

View File

@@ -98,9 +98,7 @@ The `self` endpoint is used to query the state of the target agent.
"port": "4647",
"region": "global",
"role": "nomad",
"vsn": "1",
"vsn_max": "1",
"vsn_min": "1"
"vsn": "1"
},
"Status": "alive",
"ProtocolMin": 1,