Explorar o código

Merge pull request #29391 from lixiaobing10051267/masterTypeWin

fix some typos in libcontainer\types_windows.go
Akihiro Suda %!s(int64=8) %!d(string=hai) anos
pai
achega
ec8b286dd3
Modificáronse 1 ficheiros con 2 adicións e 3 borrados
  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