From c4935177696d512de8ae82c430e33d57251ad5f8 Mon Sep 17 00:00:00 2001 From: lixiaobing10051267 Date: Wed, 14 Dec 2016 15:50:25 +0800 Subject: [PATCH] fix some typos in libcontainer\types_windows.go Signed-off-by: lixiaobing10051267 Upstream-commit: f385846d6ff48c17b7fc8173b8370df17c76ad40 Component: engine --- components/engine/libcontainerd/types_windows.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/components/engine/libcontainerd/types_windows.go b/components/engine/libcontainerd/types_windows.go index 24a9a96440..5c8e2b57eb 100644 --- a/components/engine/libcontainerd/types_windows.go +++ b/components/engine/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