moby/daemon
Alexander Larsson cf997aa905 container: Remove Ghost state
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)
2014-04-22 09:49:53 +02:00
..
execdriver Merge branch 'master' into load-profile 2014-04-21 10:32:13 -07:00
graphdriver Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
networkdriver Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
container.go Remove IsGhost checks around networking 2014-04-17 23:49:59 +00:00
container_unit_test.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
daemon.go container: Remove Ghost state 2014-04-22 09:49:53 +02:00
daemon_aufs.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
daemon_btrfs.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
daemon_devicemapper.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
daemon_no_aufs.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
history.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
network_settings.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
server.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
sorter.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
state.go container: Remove Ghost state 2014-04-22 09:49:53 +02:00
utils.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
utils_test.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
volumes.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00