From c9d0a77657ccc3be144ed4de12d43c8cfcca8590 Mon Sep 17 00:00:00 2001 From: David Trott Date: Mon, 22 Aug 2016 13:27:28 -0700 Subject: [PATCH] Added the word "container" to clarify the error message. Signed-off-by: David Trott --- daemon/names.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/names.go b/daemon/names.go index feb1323bb1..19e78cc173 100644 --- a/daemon/names.go +++ b/daemon/names.go @@ -72,7 +72,7 @@ func (daemon *Daemon) reserveName(id, name string) (string, error) { logrus.Errorf("got unexpected error while looking up reserved name: %v", err) return "", err } - return "", fmt.Errorf("Conflict. The name %q is already in use by container %s. You have to remove (or rename) that container to be able to reuse that name.", name, id) + return "", fmt.Errorf("Conflict. The container name %q is already in use by container %s. You have to remove (or rename) that container to be able to reuse that name.", name, id) } return "", fmt.Errorf("error reserving name: %s, error: %v", name, err) }