diff --git a/go.mod b/go.mod index 554790f67..c3cdd8c21 100644 --- a/go.mod +++ b/go.mod @@ -10,7 +10,7 @@ require ( github.com/aliyun/alibaba-cloud-sdk-go v0.0.0-20190603021944-12ad9f921c0b github.com/aws/aws-sdk-go v1.44.173 github.com/cloudflare/cloudflare-go v0.11.4 - github.com/gardener/controller-manager-library v0.2.1-0.20230504074505-cf120e9a982d + github.com/gardener/controller-manager-library v0.2.1-0.20230626073055-c9884fe14283 github.com/go-openapi/runtime v0.24.1 github.com/go-openapi/strfmt v0.21.2 github.com/gophercloud/gophercloud v0.24.0 diff --git a/go.sum b/go.sum index 2baa7658e..c1e7165c5 100644 --- a/go.sum +++ b/go.sum @@ -202,8 +202,8 @@ github.com/form3tech-oss/jwt-go v3.2.2+incompatible/go.mod h1:pbq4aXjuKjdthFRnoD github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= github.com/fsnotify/fsnotify v1.6.0 h1:n+5WquG0fcWoWp6xPWfHdbskMCQaFnG6PfBrh1Ky4HY= -github.com/gardener/controller-manager-library v0.2.1-0.20230504074505-cf120e9a982d h1:33JnE+FAR7/du36Fe+d2++AUUykhHAxb7C4zSjrjMOE= -github.com/gardener/controller-manager-library v0.2.1-0.20230504074505-cf120e9a982d/go.mod h1:1yoLG/k4iFo21caNycEa1FtG2/AOkpOPk/NTBJN2azY= +github.com/gardener/controller-manager-library v0.2.1-0.20230626073055-c9884fe14283 h1:ASZL0dfktn/6XklA0UJoap5er+XMmzXX2QYPnG/6pa4= +github.com/gardener/controller-manager-library v0.2.1-0.20230626073055-c9884fe14283/go.mod h1:1yoLG/k4iFo21caNycEa1FtG2/AOkpOPk/NTBJN2azY= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= github.com/globalsign/mgo v0.0.0-20180905125535-1ca0a4f7cbcb/go.mod h1:xkRDCp4j0OGD1HRkm4kmhM+pmpv3AKq5SU7GMg4oO/Q= github.com/globalsign/mgo v0.0.0-20181015135952-eeefdecb41b8/go.mod h1:xkRDCp4j0OGD1HRkm4kmhM+pmpv3AKq5SU7GMg4oO/Q= diff --git a/vendor/github.com/gardener/controller-manager-library/hack/run-in.sh b/vendor/github.com/gardener/controller-manager-library/hack/run-in.sh old mode 100755 new mode 100644 diff --git a/vendor/github.com/gardener/controller-manager-library/pkg/resources/info.go b/vendor/github.com/gardener/controller-manager-library/pkg/resources/info.go index 75c28846e..050ca0a23 100644 --- a/vendor/github.com/gardener/controller-manager-library/pkg/resources/info.go +++ b/vendor/github.com/gardener/controller-manager-library/pkg/resources/info.go @@ -185,9 +185,10 @@ func (this *ResourceInfos) doUpdateGroup(dc *discovery.DiscoveryClient, group v1 if err != nil { lastErr = err } - if list != nil { - count += len(list.APIResources) + if list == nil { + continue } + count += len(list.APIResources) func() { this.lock.Lock() diff --git a/vendor/modules.txt b/vendor/modules.txt index bc5a0494b..29174577c 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -135,7 +135,7 @@ github.com/evanphx/json-patch/v5 # github.com/fatih/color v1.13.0 ## explicit; go 1.13 github.com/fatih/color -# github.com/gardener/controller-manager-library v0.2.1-0.20230504074505-cf120e9a982d +# github.com/gardener/controller-manager-library v0.2.1-0.20230626073055-c9884fe14283 ## explicit; go 1.20 github.com/gardener/controller-manager-library/hack github.com/gardener/controller-manager-library/pkg/certmgmt