Skip to content

Commit

Permalink
allow to set or not the registry for the images
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Labarussias <issif+github@gadz.org>
  • Loading branch information
Issif committed Sep 30, 2024
1 parent 4e39b76 commit 13d8ede
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/kubernetes/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ func (client Client) GetClusterRole(name, namespace string) (*rbacv1.ClusterRole
func (client Client) GetWatcherEndpointSlices(labelSelector, namespace string) (<-chan watch.Event, error) {
watchFunc := func(_ metav1.ListOptions) (watch.Interface, error) {
timeOut := int64(5)
return client.DiscoveryV1().EndpointSlices(namespace).Watch(context.Background(), metav1.ListOptions{LabelSelector: labelSelector, TimeoutSeconds: &timeOut})
return client.Clientset.DiscoveryV1().EndpointSlices(namespace).Watch(context.Background(), metav1.ListOptions{LabelSelector: labelSelector, TimeoutSeconds: &timeOut})
}

watcher, err := toolsWatch.NewRetryWatcher("1", &cache.ListWatch{WatchFunc: watchFunc})
Expand Down

0 comments on commit 13d8ede

Please sign in to comment.