mirror of
https://github.com/containers/podman.git
synced 2025-12-01 10:38:05 +08:00
vendor: update c/{buildah,common,image,storage} to main
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
2
vendor/github.com/containers/buildah/internal/util/util.go
generated
vendored
2
vendor/github.com/containers/buildah/internal/util/util.go
generated
vendored
@@ -98,7 +98,7 @@ func ExportFromReader(input io.Reader, opts define.BuildOutputOption) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func SetHas(m map[string]struct{}, k string) bool {
|
||||
func SetHas[K comparable, V any](m map[K]V, k K) bool {
|
||||
_, ok := m[k]
|
||||
return ok
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user