소스 검색

Remove duplicated OomKilldisable

It's in Resources, but wrongly added back to HostConfig in
https://github.com/docker/docker/pull/18762

Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
Qiang Huang 9 년 전
부모
커밋
2e02077e9f
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      api/types/container/host_config.go

+ 0 - 1
api/types/container/host_config.go

@@ -209,7 +209,6 @@ type HostConfig struct {
 	IpcMode         IpcMode            // IPC namespace to use for the container
 	IpcMode         IpcMode            // IPC namespace to use for the container
 	Links           []string           // List of links (in the name:alias form)
 	Links           []string           // List of links (in the name:alias form)
 	OomScoreAdj     int                // Container preference for OOM-killing
 	OomScoreAdj     int                // Container preference for OOM-killing
-	OomKillDisable  bool               // Whether to disable OOM Killer or not
 	PidMode         PidMode            // PID namespace to use for the container
 	PidMode         PidMode            // PID namespace to use for the container
 	Privileged      bool               // Is the container in privileged mode
 	Privileged      bool               // Is the container in privileged mode
 	PublishAllPorts bool               // Should docker publish all exposed port for the container
 	PublishAllPorts bool               // Should docker publish all exposed port for the container