Skip to content

Commit

Permalink
Merge pull request #10070 from thaJeztah/change-back-error-message
Browse files Browse the repository at this point in the history
Mention "or rename" again in error-message.
  • Loading branch information
vieux committed Jan 13, 2015
2 parents d8e6e32 + 78820a6 commit ff40126
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daemon/daemon.go
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ func (daemon *Daemon) reserveName(id, name string) (string, error) {
} else {
nameAsKnownByUser := strings.TrimPrefix(name, "/")
return "", fmt.Errorf(
"Conflict. The name %q is already in use by container %s. You have to delete that container to be able to reuse that name.", nameAsKnownByUser,
"Conflict. The name %q is already in use by container %s. You have to delete (or rename) that container to be able to reuse that name.", nameAsKnownByUser,
utils.TruncateID(conflictingContainer.ID))
}
}
Expand Down

0 comments on commit ff40126

Please sign in to comment.