We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aeb598f commit 7314c87Copy full SHA for 7314c87
pkg/sharding/key.go
@@ -26,7 +26,7 @@ import (
26
shardingv1alpha1 "github.com/timebertt/kubernetes-controller-sharding/pkg/apis/sharding/v1alpha1"
27
)
28
29
-// KeyFuncForResource returns the key function that maps the given resource or its controller dependening on whether
+// KeyFuncForResource returns the key function that maps the given resource or its controller depending on whether
30
// the resource is listed as a resource or controlled resource in the given ring.
31
func KeyFuncForResource(gr metav1.GroupResource, ring *shardingv1alpha1.ControllerRing) (KeyFunc, error) {
32
ringResources := sets.New[metav1.GroupResource]()
pkg/sharding/leases/doc.go
0 commit comments