Ver código fonte

Merge pull request #199 from zined/update_documentation

adopt documentation to implementation
Xiang Li 12 anos atrás
pai
commit
c988b1e5b0
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      README.md

+ 2 - 2
README.md

@@ -534,10 +534,10 @@ etcd uses [semantic versioning][semver].
 When we release v1.0.0 of etcd we will promise not to break the "v1" REST API.
 When we release v1.0.0 of etcd we will promise not to break the "v1" REST API.
 New minor versions may add additional features to the API however.
 New minor versions may add additional features to the API however.
 
 
-You can get the version of etcd by requesting the root path of etcd:
+You can get the version of etcd by issuing a request to /version:
 
 
 ```sh
 ```sh
-curl -L http://127.0.0.1:4001
+curl -L http://127.0.0.1:4001/version
 ```
 ```
 
 
 During the v0 series of releases we may break the API as we fix bugs and get feedback.
 During the v0 series of releases we may break the API as we fix bugs and get feedback.