mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
Rename Daemon.Get to Daemon.GetContainer.
This is more aligned with `Daemon.GetImage` and less confusing. Signed-off-by: David Calavera <david.calavera@gmail.com>
This commit is contained in:
@@ -12,7 +12,7 @@ import (
|
||||
// ContainerExport writes the contents of the container to the given
|
||||
// writer. An error is returned if the container cannot be found.
|
||||
func (daemon *Daemon) ContainerExport(name string, out io.Writer) error {
|
||||
container, err := daemon.Get(name)
|
||||
container, err := daemon.GetContainer(name)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user