From f73dd5fdad10e9c2b4dae0769225a46c5fe4e730 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Thu, 14 Mar 2019 00:18:46 +0100 Subject: [PATCH] Revert "Adding builder version" This reverts commit f821f002e51cc4ac082c53985cdfc5d04ca76c21. Signed-off-by: Sebastiaan van Stijn --- api/server/router/system/system_routes.go | 2 -- api/types/types.go | 1 - integration/system/info_test.go | 3 +-- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/api/server/router/system/system_routes.go b/api/server/router/system/system_routes.go index db43ea7542..365095159a 100644 --- a/api/server/router/system/system_routes.go +++ b/api/server/router/system/system_routes.go @@ -52,8 +52,6 @@ func (s *systemRouter) getInfo(ctx context.Context, w http.ResponseWriter, r *ht info.Swarm = s.cluster.Info() } - info.Builder = build.BuilderVersion(*s.features) - if versions.LessThan(httputils.VersionFromContext(ctx), "1.25") { // TODO: handle this conversion in engine-api type oldInfo struct { diff --git a/api/types/types.go b/api/types/types.go index ed555aad2b..a39ffcb7be 100644 --- a/api/types/types.go +++ b/api/types/types.go @@ -146,7 +146,6 @@ type Commit struct { // GET "/info" type Info struct { ID string - Builder BuilderVersion Containers int ContainersRunning int ContainersPaused int diff --git a/integration/system/info_test.go b/integration/system/info_test.go index 69ae500894..8130361988 100644 --- a/integration/system/info_test.go +++ b/integration/system/info_test.go @@ -35,8 +35,7 @@ func TestInfoAPI(t *testing.T) { "KernelVersion", "Driver", "ServerVersion", - "SecurityOptions", - "Builder"} + "SecurityOptions"} out := fmt.Sprintf("%+v", info) for _, linePrefix := range stringsToCheck {