mirror of
https://github.com/containers/podman.git
synced 2025-10-25 02:04:43 +08:00
Fix language. Mostly spelling a -> an
Signed-off-by: Erik Sjölund <erik.sjolund@gmail.com>
This commit is contained in:
@ -240,7 +240,7 @@ func (ic *ContainerEngine) ContainerStop(ctx context.Context, namesOrIds []strin
|
||||
// container never created in OCI runtime
|
||||
// docker parity: do nothing just return container id
|
||||
case errors.Is(err, define.ErrCtrStateInvalid):
|
||||
logrus.Debugf("Container %s is either not created on runtime or is in a invalid state", c.ID())
|
||||
logrus.Debugf("Container %s is either not created on runtime or is in an invalid state", c.ID())
|
||||
default:
|
||||
return err
|
||||
}
|
||||
|
||||
@ -117,7 +117,7 @@ func (ic *ContainerEngine) NetworkRm(ctx context.Context, namesOrIds []string, o
|
||||
return reports, fmt.Errorf("%q has associated containers with it. Use -f to forcibly delete containers and pods: %w", name, define.ErrNetworkInUse)
|
||||
}
|
||||
if c.IsInfra() {
|
||||
// if we have a infra container we need to remove the pod
|
||||
// if we have an infra container we need to remove the pod
|
||||
pod, err := ic.Libpod.GetPod(c.PodID())
|
||||
if err != nil {
|
||||
return reports, err
|
||||
|
||||
Reference in New Issue
Block a user