mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05: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:
parent
5525593a68
commit
d7d512bb92
30 changed files with 57 additions and 57 deletions
|
|
@ -21,7 +21,7 @@ func (daemon *Daemon) ContainerTop(name string, psArgs string) (*types.Container
|
|||
psArgs = "-ef"
|
||||
}
|
||||
|
||||
container, err := daemon.Get(name)
|
||||
container, err := daemon.GetContainer(name)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue