From 7b6f9da52c961da18e2a91c4fcb8f124880244d8 Mon Sep 17 00:00:00 2001 From: Raghuram Devarakonda Date: Thu, 28 May 2015 17:54:48 -0400 Subject: [PATCH] Make the version mismatch message more explicit. Signed-off-by: Raghuram Devarakonda --- api/server/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/server/server.go b/api/server/server.go index 1fa629acaa..03300aa8c8 100644 --- a/api/server/server.go +++ b/api/server/server.go @@ -1444,7 +1444,7 @@ func makeHttpHandler(logging bool, localMethod string, localRoute string, handle } if version.GreaterThan(api.APIVERSION) { - 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.StatusBadRequest) + http.Error(w, fmt.Errorf("client is newer than server (client API version: %s, server API version: %s)", version, api.APIVERSION).Error(), http.StatusBadRequest) return }