mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-22 02:18:51 +00:00
Fix: pkg/apis Typos in comments, function name, error message
poicy -> policy varialbes -> variables exeuction -> execution Resaurces -> Resources TestSetDefaulEndpointsProtocol -> TestSetDefaultEndpointsProtocol TestSetDefaulServiceTargetPort -> TestSetDefaultServiceTargetPort TestSetDefaulServiceExternalTraffic -> TestSetDefaultServiceExternalTraffic
This commit is contained in:
@@ -24,7 +24,7 @@ import (
|
||||
"k8s.io/apimachinery/pkg/util/sets"
|
||||
)
|
||||
|
||||
// ResourceMatches returns the result of the rule.Resaurces matching.
|
||||
// ResourceMatches returns the result of the rule.Resources matching.
|
||||
func ResourceMatches(rule *PolicyRule, combinedRequestedResource, requestedSubresource string) bool {
|
||||
for _, ruleResource := range rule.Resources {
|
||||
// if everything is allowed, we match
|
||||
|
Reference in New Issue
Block a user