瀏覽代碼

Fix typo in api/types/container/host_config.go

Originally merged in #26061.

Signed-off-by: David Sheets <sheets@alum.mit.edu>
David Sheets 8 年之前
父節點
當前提交
a003419fca
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      api/types/container/host_config.go

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

@@ -323,7 +323,7 @@ type HostConfig struct {
 	Mounts []mount.Mount `json:",omitempty"`
 
 	// Run a custom init inside the container, if null, use the daemon's configured settings
-	Init *bool `json:",om        itempty"`
+	Init *bool `json:",omitempty"`
 }
 
 // Box specifies height and width dimensions. Used for sizing of a console.