mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-11-16 16:54:51 +02:00
Use Docker API v1.24 to get version.
This commit is contained in:
parent
16f72b4d3d
commit
1f5085608c
@ -135,7 +135,7 @@ class Docker(BaseManager):
|
|||||||
timeout = 60 * 60 * 24 * 31 # One month timeout
|
timeout = 60 * 60 * 24 * 31 # One month timeout
|
||||||
|
|
||||||
if path == 'version':
|
if path == 'version':
|
||||||
url = "http://docker/v1.12/" + path # API of docker v1.0
|
url = "http://docker/v1.24/" + path
|
||||||
else:
|
else:
|
||||||
url = "http://docker/v" + DOCKER_MINIMUM_API_VERSION + "/" + path
|
url = "http://docker/v" + DOCKER_MINIMUM_API_VERSION + "/" + path
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user