We are already doing that for downstream consumers, so let’s do it here as well, so that we not surprised by a dependency requiring Go 1.21 suddenly forcing an upgrade.
This is a very minimal update; the code could benefit from some of the new features, e.g. quite a few of the global sync.Once variables could be replaced by sync.OnceValue/sync.OnceValues.
Needs approval from an approver in each of these files:
- ~~[OWNERS](https://github.com/containers/storage/blob/main/OWNERS)~~ [mtrmac]
Approvers can indicate their approval by writing `/approve` in a comment
Approvers can cancel approval by writing `/approve cancel` in a comment
We are already doing that for downstream consumers, so let’s do it here as well, so that we not surprised by a dependency requiring Go 1.21 suddenly forcing an upgrade.
This is a very minimal update; the code could benefit from some of the new features, e.g. quite a few of the global
sync.Once
variables could be replaced bysync.OnceValue
/sync.OnceValues
.Cc: @nalind @cevich