Update upgrading.html.markdown
The change fixes a minor bug in the document that says consul supports back to version 0 when the example output says version 1, and makes the document less ambiguous by having a different "current" protocol and earliest supported protocol.
This commit is contained in:
parent
94c14275c0
commit
d56c316f07
|
@ -73,13 +73,13 @@ running `consul -v`. You'll see output similar to that below:
|
||||||
|
|
||||||
```
|
```
|
||||||
$ consul -v
|
$ consul -v
|
||||||
Consul v0.1.0
|
Consul v0.6.3
|
||||||
Consul Protocol: 1 (Understands back to: 1)
|
Consul Protocol: 3 (Understands back to: 1)
|
||||||
```
|
```
|
||||||
|
|
||||||
This says the version of Consul as well as the latest protocol version (1,
|
This says the version of Consul as well as the latest protocol version (3,
|
||||||
in this case). It also says the earliest protocol version that this Consul
|
in this case). It also says the earliest protocol version that this Consul
|
||||||
agent can understand (0, in this case).
|
agent can understand (1, in this case).
|
||||||
|
|
||||||
By specifying the `-protocol` flag on `consul agent`, you can tell the
|
By specifying the `-protocol` flag on `consul agent`, you can tell the
|
||||||
Consul agent to speak any protocol version that it can understand. This
|
Consul agent to speak any protocol version that it can understand. This
|
||||||
|
|
Loading…
Reference in New Issue