Prechádzať zdrojové kódy

fix some typos in libcontainer\types_windows.go

Signed-off-by: lixiaobing10051267 <li.xiaobing1@zte.com.cn>
lixiaobing10051267 8 rokov pred
rodič
commit
f385846d6f
1 zmenil súbory, kde vykonal 2 pridanie a 3 odobranie
  1. 2 3
      libcontainerd/types_windows.go

+ 2 - 3
libcontainerd/types_windows.go

@@ -16,11 +16,10 @@ type StateInfo struct {
 	CommonStateInfo
 
 	// Platform specific StateInfo
-
 	UpdatePending bool // Indicates that there are some update operations pending that should be completed by a servicing container.
 }
 
-// Stats contains statics from HCS
+// Stats contains statistics from HCS
 type Stats hcsshim.Statistics
 
 // Resources defines updatable container resource values.
@@ -49,7 +48,7 @@ type HyperVIsolationOption struct {
 // LayerOption is a CreateOption that indicates to the runtime the layer folder
 // and layer paths for a container.
 type LayerOption struct {
-	// LayerFolder is the path to the current layer folder. Empty for Hyper-V containers.
+	// LayerFolderPath is the path to the current layer folder. Empty for Hyper-V containers.
 	LayerFolderPath string `json:",omitempty"`
 	// Layer paths of the parent layers
 	LayerPaths []string