mirror of
https://github.com/containers/podman.git
synced 2025-10-18 03:33:32 +08:00
Fix language, typos and markdown layout
[NO NEW TESTS NEEDED] Signed-off-by: Erik Sjölund <erik.sjolund@gmail.com>
This commit is contained in:
@ -797,7 +797,7 @@ func (c *Container) Cleanup(ctx context.Context) error {
|
||||
defer c.lock.Unlock()
|
||||
|
||||
if err := c.syncContainer(); err != nil {
|
||||
// When the container has already been removed, the OCI runtime directory remain.
|
||||
// When the container has already been removed, the OCI runtime directory remains.
|
||||
if errors.Is(err, define.ErrNoSuchCtr) || errors.Is(err, define.ErrCtrRemoved) {
|
||||
if err := c.cleanupRuntime(ctx); err != nil {
|
||||
return fmt.Errorf("cleaning up container %s from OCI runtime: %w", c.ID(), err)
|
||||
|
Reference in New Issue
Block a user