Browse code

Revert "Adding builder version"

This reverts commit f821f002e51cc4ac082c53985cdfc5d04ca76c21.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

Sebastiaan van Stijn authored on 2019/03/14 08:18:46
Showing 3 changed files
... ...
@@ -52,8 +52,6 @@ func (s *systemRouter) getInfo(ctx context.Context, w http.ResponseWriter, r *ht
52 52
 		info.Swarm = s.cluster.Info()
53 53
 	}
54 54
 
55
-	info.Builder = build.BuilderVersion(*s.features)
56
-
57 55
 	if versions.LessThan(httputils.VersionFromContext(ctx), "1.25") {
58 56
 		// TODO: handle this conversion in engine-api
59 57
 		type oldInfo struct {
... ...
@@ -146,7 +146,6 @@ type Commit struct {
146 146
 // GET "/info"
147 147
 type Info struct {
148 148
 	ID                 string
149
-	Builder            BuilderVersion
150 149
 	Containers         int
151 150
 	ContainersRunning  int
152 151
 	ContainersPaused   int
... ...
@@ -35,8 +35,7 @@ func TestInfoAPI(t *testing.T) {
35 35
 		"KernelVersion",
36 36
 		"Driver",
37 37
 		"ServerVersion",
38
-		"SecurityOptions",
39
-		"Builder"}
38
+		"SecurityOptions"}
40 39
 
41 40
 	out := fmt.Sprintf("%+v", info)
42 41
 	for _, linePrefix := range stringsToCheck {