typo fix: immediatly -> immediately

Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
Upstream-commit: fcc7ec8073311cf9d150179895e5d0a32f4cb2e7
Component: engine
This commit is contained in:
Hu Tao
2014-09-05 04:22:32 -04:00
parent 5292fb186e
commit ced73947d9

View File

@ -60,7 +60,7 @@ func wait(waitChan <-chan struct{}, timeout time.Duration) error {
}
// WaitRunning waits until state is running. If state already running it returns
// immediatly. If you want wait forever you must supply negative timeout.
// immediately. If you want wait forever you must supply negative timeout.
// Returns pid, that was passed to SetRunning
func (s *State) WaitRunning(timeout time.Duration) (int, error) {
s.Lock()
@ -78,7 +78,7 @@ func (s *State) WaitRunning(timeout time.Duration) (int, error) {
}
// WaitStop waits until state is stopped. If state already stopped it returns
// immediatly. If you want wait forever you must supply negative timeout.
// immediately. If you want wait forever you must supply negative timeout.
// Returns exit code, that was passed to SetStopped
func (s *State) WaitStop(timeout time.Duration) (int, error) {
s.Lock()