Skip to content

Commit f73dd5f

Browse files
committed
Revert "Adding builder version"
This reverts commit f821f00. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1 parent 42ad354 commit f73dd5f

File tree

3 files changed

+1
-5
lines changed

3 files changed

+1
-5
lines changed

api/server/router/system/system_routes.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@ func (s *systemRouter) getInfo(ctx context.Context, w http.ResponseWriter, r *ht
5252
info.Swarm = s.cluster.Info()
5353
}
5454

55-
info.Builder = build.BuilderVersion(*s.features)
56-
5755
if versions.LessThan(httputils.VersionFromContext(ctx), "1.25") {
5856
// TODO: handle this conversion in engine-api
5957
type oldInfo struct {

api/types/types.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,6 @@ type Commit struct {
146146
// GET "/info"
147147
type Info struct {
148148
ID string
149-
Builder BuilderVersion
150149
Containers int
151150
ContainersRunning int
152151
ContainersPaused int

integration/system/info_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ func TestInfoAPI(t *testing.T) {
3535
"KernelVersion",
3636
"Driver",
3737
"ServerVersion",
38-
"SecurityOptions",
39-
"Builder"}
38+
"SecurityOptions"}
4039

4140
out := fmt.Sprintf("%+v", info)
4241
for _, linePrefix := range stringsToCheck {

0 commit comments

Comments
 (0)