From 3f53a9ea1d25423db6fb85bd6810b9a99a8bedc6 Mon Sep 17 00:00:00 2001 From: "Aaron.L.Xu" Date: Sat, 14 Jan 2017 15:23:24 +0800 Subject: [PATCH] fix typo in container/container.go Signed-off-by: Aaron.L.Xu Upstream-commit: 32035ffea57ef566a80a98ab69f9d30b55b59c08 Component: engine --- components/engine/container/container.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/engine/container/container.go b/components/engine/container/container.go index 727c6a6ad5..a79ec89562 100644 --- a/components/engine/container/container.go +++ b/components/engine/container/container.go @@ -576,7 +576,7 @@ func (container *Container) AddMountPointWithVolume(destination string, vol volu func (container *Container) UnmountVolumes(volumeEventLog func(name, action string, attributes map[string]string)) error { var errors []string for _, volumeMount := range container.MountPoints { - // Check if the mounpoint has an ID, this is currently the best way to tell if it's actually mounted + // Check if the mountpoint has an ID, this is currently the best way to tell if it's actually mounted // TODO(cpuguyh83): there should be a better way to handle this if volumeMount.Volume != nil && volumeMount.ID != "" { if err := volumeMount.Volume.Unmount(volumeMount.ID); err != nil {