Sfoglia il codice sorgente

Revert "Adding builder version"

This reverts commit f821f002e51cc4ac082c53985cdfc5d04ca76c21.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Sebastiaan van Stijn 6 anni fa
parent
commit
f73dd5fdad

+ 0 - 2
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 {

+ 0 - 1
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

+ 1 - 2
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 {