From 2ff68910e2ac3e16d47de2b95a412e07586a7c60 Mon Sep 17 00:00:00 2001
From: John Howard <jhoward@microsoft.com>
Date: Sun, 8 Nov 2015 18:29:34 -0800
Subject: [PATCH] Typo s/contained/container

Signed-off-by: John Howard <jhoward@microsoft.com>
---
 daemon/monitor.go |  4 ++--
 errors/daemon.go  | 14 +++++++-------
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/daemon/monitor.go b/daemon/monitor.go
index 3a53c96e9f..02f594e425 100644
--- a/daemon/monitor.go
+++ b/daemon/monitor.go
@@ -167,7 +167,7 @@ func (m *containerMonitor) Start() error {
 		if exitStatus, err = m.supervisor.Run(m.container, pipes, m.callback); err != nil {
 			// if we receive an internal error from the initial start of a container then lets
 			// return it instead of entering the restart loop
-			// set to 127 for contained cmd not found/does not exist)
+			// set to 127 for container cmd not found/does not exist)
 			if strings.Contains(err.Error(), "executable file not found") ||
 				strings.Contains(err.Error(), "no such file or directory") ||
 				strings.Contains(err.Error(), "system cannot find the file specified") {
@@ -177,7 +177,7 @@ func (m *containerMonitor) Start() error {
 					return derr.ErrorCodeCmdNotFound
 				}
 			}
-			// set to 126 for contained cmd can't be invoked errors
+			// set to 126 for container cmd can't be invoked errors
 			if strings.Contains(err.Error(), syscall.EACCES.Error()) {
 				if m.container.RestartCount == 0 {
 					m.container.ExitCode = 126
diff --git a/errors/daemon.go b/errors/daemon.go
index 94494b8b61..d406d271d4 100644
--- a/errors/daemon.go
+++ b/errors/daemon.go
@@ -922,25 +922,25 @@ var (
 		HTTPStatusCode: http.StatusInternalServerError,
 	})
 
-	// ErrorCodeCmdNotFound is generated when contained cmd can't start,
-	// contained command not found error, exit code 127
+	// ErrorCodeCmdNotFound is generated when container cmd can't start,
+	// container command not found error, exit code 127
 	ErrorCodeCmdNotFound = errcode.Register(errGroup, errcode.ErrorDescriptor{
 		Value:          "CMDNOTFOUND",
-		Message:        "Contained command not found or does not exist.",
+		Message:        "Container command not found or does not exist.",
 		Description:    "Command could not be found, command does not exist",
 		HTTPStatusCode: http.StatusInternalServerError,
 	})
 
-	// ErrorCodeCmdCouldNotBeInvoked is generated when contained cmd can't start,
-	// contained command permission denied error, exit code 126
+	// ErrorCodeCmdCouldNotBeInvoked is generated when container cmd can't start,
+	// container command permission denied error, exit code 126
 	ErrorCodeCmdCouldNotBeInvoked = errcode.Register(errGroup, errcode.ErrorDescriptor{
 		Value:          "CMDCOULDNOTBEINVOKED",
-		Message:        "Contained command could not be invoked.",
+		Message:        "Container command could not be invoked.",
 		Description:    "Permission denied, cannot invoke command",
 		HTTPStatusCode: http.StatusInternalServerError,
 	})
 
-	// ErrorCodeCantStart is generated when contained cmd can't start,
+	// ErrorCodeCantStart is generated when container cmd can't start,
 	// for any reason other than above 2 errors
 	ErrorCodeCantStart = errcode.Register(errGroup, errcode.ErrorDescriptor{
 		Value:          "CANTSTART",