mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
daemon: rename variables that collide with imported package names
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@@ -10,11 +10,11 @@ import (
|
||||
|
||||
// ContainerPause pauses a container
|
||||
func (daemon *Daemon) ContainerPause(name string) error {
|
||||
container, err := daemon.GetContainer(name)
|
||||
ctr, err := daemon.GetContainer(name)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
return daemon.containerPause(container)
|
||||
return daemon.containerPause(ctr)
|
||||
}
|
||||
|
||||
// containerPause pauses the container execution without stopping the process.
|
||||
|
||||
Reference in New Issue
Block a user