Skip to content

Commit 7314c87

Browse files
committed
Nits
1 parent aeb598f commit 7314c87

File tree

2 files changed

+1
-20
lines changed

2 files changed

+1
-20
lines changed

pkg/sharding/key.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import (
2626
shardingv1alpha1 "github.com/timebertt/kubernetes-controller-sharding/pkg/apis/sharding/v1alpha1"
2727
)
2828

29-
// KeyFuncForResource returns the key function that maps the given resource or its controller dependening on whether
29+
// KeyFuncForResource returns the key function that maps the given resource or its controller depending on whether
3030
// the resource is listed as a resource or controlled resource in the given ring.
3131
func KeyFuncForResource(gr metav1.GroupResource, ring *shardingv1alpha1.ControllerRing) (KeyFunc, error) {
3232
ringResources := sets.New[metav1.GroupResource]()

pkg/sharding/leases/doc.go

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)