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:
Erik Sjölund
2023-07-23 16:30:34 +02:00
parent 67f0340687
commit b5ce0ab2de
23 changed files with 30 additions and 30 deletions

View File

@ -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)