mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #25933 from dtrott/25932-container-name
Added the word "container" to clarify the error message.
This commit is contained in:
commit
4844d13bd7
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue