update vendor

Signed-off-by: Roland.Ma <rolandma@yunify.com>
This commit is contained in:
Roland.Ma
2021-08-11 07:10:14 +00:00
parent a18f72b565
commit ea8f47c73a
2901 changed files with 269317 additions and 43103 deletions

View File

@@ -19,8 +19,8 @@ package util
import (
"fmt"
meta "k8s.io/apimachinery/pkg/api/meta"
pkgruntime "k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/api/meta"
runtimeclient "sigs.k8s.io/controller-runtime/pkg/client"
)
// QualifiedName comprises a resource name with an optional namespace.
@@ -35,7 +35,7 @@ type QualifiedName struct {
Name string
}
func NewQualifiedName(obj pkgruntime.Object) QualifiedName {
func NewQualifiedName(obj runtimeclient.Object) QualifiedName {
accessor, err := meta.Accessor(obj)
if err != nil {
// TODO(marun) This should never happen, but if it does, the