Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
| ... | ... |
@@ -366,13 +366,6 @@ func (s *State) IsRemovalInProgress() bool {
|
| 366 | 366 |
return res |
| 367 | 367 |
} |
| 368 | 368 |
|
| 369 |
-// SetDead sets the container state to "dead" |
|
| 370 |
-func (s *State) SetDead() {
|
|
| 371 |
- s.Lock() |
|
| 372 |
- s.Dead = true |
|
| 373 |
- s.Unlock() |
|
| 374 |
-} |
|
| 375 |
- |
|
| 376 | 369 |
// IsDead returns whether the Dead flag is set. Used by Container to check whether a container is dead. |
| 377 | 370 |
func (s *State) IsDead() bool {
|
| 378 | 371 |
s.Lock() |