File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -249,7 +249,6 @@ func TestContainerInspectHostConfig(t *testing.T) {
249249 "--add-host" , "host2:10.0.0.2" ,
250250 "--ipc" , "host" ,
251251 "--memory" , "512m" ,
252- "--oom-kill-disable" ,
253252 "--read-only" ,
254253 "--uts" , "host" ,
255254 "--shm-size" , "256m" ,
@@ -272,7 +271,7 @@ func TestContainerInspectHostConfig(t *testing.T) {
272271 assert .Equal (t , "json-file" , inspect .HostConfig .LogConfig .Driver )
273272 assert .Equal (t , int64 (536870912 ), inspect .HostConfig .Memory )
274273 assert .Equal (t , int64 (1073741824 ), inspect .HostConfig .MemorySwap )
275- assert .Equal (t , bool (true ), inspect .HostConfig .OomKillDisable )
274+ // assert.Equal(t, bool(true), inspect.HostConfig.OomKillDisable)
276275 assert .Equal (t , true , inspect .HostConfig .ReadonlyRootfs )
277276 assert .Equal (t , "host" , inspect .HostConfig .UTSMode )
278277 assert .Equal (t , int64 (268435456 ), inspect .HostConfig .ShmSize )
You can’t perform that action at this time.
0 commit comments