mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 15:37:24 +00:00
Change runtime.Object signature
This commit is contained in:
@@ -38,7 +38,7 @@ func nameIndexFunc(obj interface{}) ([]string, error) {
|
||||
if err != nil {
|
||||
return []string{""}, fmt.Errorf("object has no meta: %v", err)
|
||||
}
|
||||
return []string{meta.Name()}, nil
|
||||
return []string{meta.GetName()}, nil
|
||||
}
|
||||
|
||||
// ServiceAccountsControllerOptions contains options for running a ServiceAccountsController
|
||||
|
||||
Reference in New Issue
Block a user