Skip to content

Commit 779e809

Browse files
informergen: use a better import name
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
1 parent c0044cc commit 779e809

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

pkg/internal/informergen/factoryinterface.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ import (
5555
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
5656
runtime "k8s.io/apimachinery/pkg/runtime"
5757
58-
client "{{.clientsetPackagePath}}"
58+
clientset "{{.clientsetPackagePath}}"
5959
)
6060
61-
// NewInformerFunc takes client.ClusterInterface and time.Duration to return a ScopeableSharedIndexInformer.
62-
type NewInformerFunc func(client.ClusterInterface, time.Duration) kcpcache.ScopeableSharedIndexInformer
61+
// NewInformerFunc takes clientset.ClusterInterface and time.Duration to return a ScopeableSharedIndexInformer.
62+
type NewInformerFunc func(clientset.ClusterInterface, time.Duration) kcpcache.ScopeableSharedIndexInformer
6363
6464
// SharedInformerFactory a small interface to allow for adding an informer without an import cycle
6565
type SharedInformerFactory interface {

0 commit comments

Comments
 (0)