mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Use quoted form of container name and container id
Use quoted form of container name and container id to improve copy-paste avoiding the extra `.` that slips into the clipboard Signed-off-by: Jorge Marin <chipironcin@users.noreply.github.com>
This commit is contained in:
parent
24c4226dc7
commit
2bee1cfd5a
1 changed files with 2 additions and 2 deletions
|
@ -73,9 +73,9 @@ 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 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("Conflict. The container name %q is already in use by container %q. 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)
|
||||
return "", fmt.Errorf("error reserving name: %q, error: %v", name, err)
|
||||
}
|
||||
return name, nil
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue