cf997aa905
container.Register() checks both IsRunning() and IsGhost(), but at this point IsGhost() is always true if IsRunning() is true. For a newly created container both are false, and for a restored-from-disk container Daemon.load() sets Ghost to true if IsRunning is true. So we just drop the IsGhost check. This was the last call to IsGhost, so we remove It and all other traces of the ghost state. Docker-DCO-1.1-Signed-off-by: Alexander Larsson <alexl@redhat.com> (github: alexlarsson) |
||
---|---|---|
.. | ||
execdriver | ||
graphdriver | ||
networkdriver | ||
container.go | ||
container_unit_test.go | ||
daemon.go | ||
daemon_aufs.go | ||
daemon_btrfs.go | ||
daemon_devicemapper.go | ||
daemon_no_aufs.go | ||
history.go | ||
network_settings.go | ||
server.go | ||
sorter.go | ||
state.go | ||
utils.go | ||
utils_test.go | ||
volumes.go |