doc: fix typo
This commit is contained in:
parent
3ec4f49b0f
commit
3866d9dd07
@ -343,7 +343,7 @@ func (a *Client) runContainerLoop(
|
|||||||
// Check if the container is restarting. If it is not then we don't
|
// Check if the container is restarting. If it is not then we don't
|
||||||
// want to wait for it again and can return early.
|
// want to wait for it again and can return early.
|
||||||
ctr, err := a.apiClient.ContainerInspect(ctx, containerID)
|
ctr, err := a.apiClient.ContainerInspect(ctx, containerID)
|
||||||
// Race conidition: the container may already have been removed.
|
// Race condition: the container may already have been removed.
|
||||||
if errdefs.IsNotFound(err) {
|
if errdefs.IsNotFound(err) {
|
||||||
// ignore error but do not restart
|
// ignore error but do not restart
|
||||||
} else if err != nil {
|
} else if err != nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user