mirror of
https://github.com/containers/podman.git
synced 2025-12-06 05:37:49 +08:00
vendor: update c/common
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
2
vendor/github.com/containers/common/pkg/util/util.go
generated
vendored
2
vendor/github.com/containers/common/pkg/util/util.go
generated
vendored
@@ -15,7 +15,7 @@ import (
|
||||
|
||||
// StringInSlice determines if a string is in a string slice, returns bool.
|
||||
//
|
||||
// Deprecated: Use [golang.org/x/exp/slices.Contains] instead.
|
||||
// Deprecated: Use [slices.Contains] instead.
|
||||
func StringInSlice(s string, sl []string) bool {
|
||||
return slices.Contains(sl, s)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user