mirror of
https://github.com/containers/podman.git
synced 2025-12-11 17:27:19 +08:00
Update common, image, and storage deps
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
committed by
Paul Holzinger
parent
32d96f40c3
commit
444f19cb2a
4
vendor/github.com/containers/image/v5/internal/set/set.go
generated
vendored
4
vendor/github.com/containers/image/v5/internal/set/set.go
generated
vendored
@@ -24,11 +24,11 @@ func NewWithValues[E comparable](values ...E) *Set[E] {
|
||||
return s
|
||||
}
|
||||
|
||||
func (s Set[E]) Add(v E) {
|
||||
func (s *Set[E]) Add(v E) {
|
||||
s.m[v] = struct{}{} // Possibly writing the same struct{}{} presence marker again.
|
||||
}
|
||||
|
||||
func (s Set[E]) Delete(v E) {
|
||||
func (s *Set[E]) Delete(v E) {
|
||||
delete(s.m, v)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user