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:
David Calavera
2015-12-11 12:39:28 -05:00
parent 5525593a68
commit d7d512bb92
30 changed files with 57 additions and 57 deletions

View File

@@ -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
}