mirror of https://github.com/docker/docs.git
parent
42f9594fd3
commit
f581f74209
|
@ -1297,7 +1297,7 @@ func makeHttpHandler(eng *engine.Engine, logging bool, localMethod string, local
|
||||||
}
|
}
|
||||||
|
|
||||||
if version.GreaterThan(api.APIVERSION) {
|
if version.GreaterThan(api.APIVERSION) {
|
||||||
http.Error(w, fmt.Errorf("client and server don't have same version (client : %s, server: %s)", version, api.APIVERSION).Error(), http.StatusNotFound)
|
http.Error(w, fmt.Errorf("client and server don't have same version (client API version: %s, server API version: %s)", version, api.APIVERSION).Error(), http.StatusNotFound)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue