Fix a typo in docker/daemon/state.go
Signed-off-by: Yan Feng <yanfeng2@huawei.com> Upstream-commit: 7e01ecc119ea3871058309a47a3f9cbf2a9483dd Component: engine
This commit is contained in:
@@ -183,7 +183,7 @@ func (s *State) setStopped(exitStatus *execdriver.ExitStatus) {
|
||||
s.waitChan = make(chan struct{})
|
||||
}
|
||||
|
||||
// SetRestarting is when docker hanldes the auto restart of containers when they are
|
||||
// SetRestarting is when docker handles the auto restart of containers when they are
|
||||
// in the middle of a stop and being restarted again
|
||||
func (s *State) SetRestarting(exitStatus *execdriver.ExitStatus) {
|
||||
s.Lock()
|
||||
|
||||
Reference in New Issue
Block a user