Skip to content

Refactor metastore transaction #7528

@iyear

Description

@iyear

There is an implementation of withTransaction in snapshots/devmapper/snapshotter.go that I think could be used elsewhere and would make the code more elegant.

I've only refactored snapshots/btrfs/btrfs.go so far. If it's ok, I will refactor the rest.

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