mirror of https://github.com/docker/docs.git
Merge pull request #1322 from dnephin/update_api_version
Update api version to match the version that swarm supports
This commit is contained in:
commit
39a0a58e1c
|
|
@ -21,8 +21,8 @@ import (
|
||||||
"github.com/samalba/dockerclient"
|
"github.com/samalba/dockerclient"
|
||||||
)
|
)
|
||||||
|
|
||||||
// APIVERSION is the Client API version
|
// APIVERSION is the API version supported by swarm manager
|
||||||
const APIVERSION = "1.16"
|
const APIVERSION = "1.21"
|
||||||
|
|
||||||
// GET /info
|
// GET /info
|
||||||
func getInfo(c *context, w http.ResponseWriter, r *http.Request) {
|
func getInfo(c *context, w http.ResponseWriter, r *http.Request) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue