File tree Expand file tree Collapse file tree 6 files changed +11
-18
lines changed Expand file tree Collapse file tree 6 files changed +11
-18
lines changed Original file line number Diff line number Diff line change @@ -2800,18 +2800,11 @@ go_repository(
2800
2800
version = "v1.3.1" ,
2801
2801
)
2802
2802
2803
- go_repository (
2804
- name = "com_github_moby_moby" ,
2805
- importpath = "github.com/moby/moby" ,
2806
- sum = "h1:AhSu/R7C5uiyd+JCts3kxrKyTzXa3FilBJ0KCLUHXqA=" ,
2807
- version = "v27.3.0+incompatible" ,
2808
- )
2809
-
2810
2803
go_repository (
2811
2804
name = "com_github_docker_docker" ,
2812
2805
importpath = "github.com/docker/docker" ,
2813
- sum = "h1:BNb1QY6o4JdKpqwi9IB+HUYcRRrVN4aGFUTvDmWYK1A =" ,
2814
- version = "v27.3.0 +incompatible" ,
2806
+ sum = "h1:49M11BFLsVO1gxY9UX9p/zwkE/rswggs8AdFmXQw51I =" ,
2807
+ version = "v28.1.1 +incompatible" ,
2815
2808
)
2816
2809
2817
2810
go_repository (
Original file line number Diff line number Diff line change @@ -41,9 +41,9 @@ go_library(
41
41
"@com_github_docker_docker//api/types/container:go_default_library" ,
42
42
"@com_github_docker_docker//api/types/mount:go_default_library" ,
43
43
"@com_github_docker_docker//api/types/network:go_default_library" ,
44
+ "@com_github_docker_docker//client:go_default_library" ,
45
+ "@com_github_docker_docker//pkg/stdcopy:go_default_library" ,
44
46
"@com_github_docker_go_connections//nat:go_default_library" ,
45
- "@com_github_moby_moby//client:go_default_library" ,
46
- "@com_github_moby_moby//pkg/stdcopy:go_default_library" ,
47
47
"@org_golang_x_sys//unix:go_default_library" ,
48
48
],
49
49
)
Original file line number Diff line number Diff line change @@ -36,9 +36,9 @@ import (
36
36
"github.com/docker/docker/api/types/container"
37
37
"github.com/docker/docker/api/types/mount"
38
38
"github.com/docker/docker/api/types/network"
39
+ "github.com/docker/docker/client"
40
+ "github.com/docker/docker/pkg/stdcopy"
39
41
"github.com/docker/go-connections/nat"
40
- "github.com/moby/moby/client"
41
- "github.com/moby/moby/pkg/stdcopy"
42
42
"gvisor.dev/gvisor/pkg/sync"
43
43
"gvisor.dev/gvisor/pkg/test/testutil"
44
44
)
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ import (
22
22
23
23
"github.com/docker/docker/api/types"
24
24
"github.com/docker/docker/api/types/container"
25
- "github.com/moby/moby /pkg/stdcopy"
25
+ "github.com/docker/docker /pkg/stdcopy"
26
26
)
27
27
28
28
// ExecOpts holds arguments for Exec calls.
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ import (
19
19
"net"
20
20
21
21
"github.com/docker/docker/api/types/network"
22
- "github.com/moby/moby /client"
22
+ "github.com/docker/docker /client"
23
23
"gvisor.dev/gvisor/pkg/test/testutil"
24
24
)
25
25
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ func BenchmarkSizeEmpty(b *testing.B) {
63
63
if err := validateStats (stats ); err != nil {
64
64
b .Fatalf ("failed to validate container stats: %v" , err )
65
65
}
66
- sumMemoryUsage += stats .Stats . MemoryStats .Usage
66
+ sumMemoryUsage += stats .MemoryStats .Usage
67
67
}
68
68
reportMemoryUsage (b , sumMemoryUsage )
69
69
}
@@ -106,7 +106,7 @@ func BenchmarkSizeNginx(b *testing.B) {
106
106
if err := validateStats (stats ); err != nil {
107
107
b .Fatalf ("failed to validate container stats: %v" , err )
108
108
}
109
- sumMemoryUsage += stats .Stats . MemoryStats .Usage
109
+ sumMemoryUsage += stats .MemoryStats .Usage
110
110
}
111
111
reportMemoryUsage (b , sumMemoryUsage )
112
112
}
@@ -156,7 +156,7 @@ func BenchmarkSizeNode(b *testing.B) {
156
156
if err := validateStats (stats ); err != nil {
157
157
b .Fatalf ("failed to validate container stats: %v" , err )
158
158
}
159
- sumMemoryUsage += stats .Stats . MemoryStats .Usage
159
+ sumMemoryUsage += stats .MemoryStats .Usage
160
160
}
161
161
reportMemoryUsage (b , sumMemoryUsage )
162
162
}
You can’t perform that action at this time.
0 commit comments