Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Provisioner cleanup failure can break a provisioner #20751

@Emyrk

Description

@Emyrk

If a provisioner fails in deleting a stale directory, it can permanently break a provisioner.

err = fs.RemoveAll(sessionDirPath)
if err != nil {
return xerrors.Errorf("can't remove %q directory: %w", sessionDirPath, err)
}

This code should not be a fatal error.

#20563 (comment)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions