mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-09-25 17:34:17 +00:00
Bump up the versions of severel Kubernetes-related libs
Bump up the versions of severel Kubernetes-related libs Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com>
This commit is contained in:
@@ -61,8 +61,8 @@ func CustomResources() map[string]typeInfo {
|
||||
}
|
||||
|
||||
// CustomResourceKinds returns a list of all custom resources kinds within the Velero
|
||||
func CustomResourceKinds() sets.String {
|
||||
kinds := sets.NewString()
|
||||
func CustomResourceKinds() sets.Set[string] {
|
||||
kinds := sets.New[string]()
|
||||
|
||||
resources := CustomResources()
|
||||
for kind := range resources {
|
||||
|
||||
@@ -52,8 +52,8 @@ func CustomResources() map[string]typeInfo {
|
||||
}
|
||||
|
||||
// CustomResourceKinds returns a list of all custom resources kinds within the Velero
|
||||
func CustomResourceKinds() sets.String {
|
||||
kinds := sets.NewString()
|
||||
func CustomResourceKinds() sets.Set[string] {
|
||||
kinds := sets.New[string]()
|
||||
|
||||
resources := CustomResources()
|
||||
for kind := range resources {
|
||||
|
||||
Reference in New Issue
Block a user