Merge pull request #5506 from cloud-native-team/master

fix some comments
This commit is contained in:
Kubernetes Prow Robot
2024-06-18 12:37:52 -07:00
committed by GitHub
10 changed files with 10 additions and 10 deletions

View File

@@ -156,7 +156,7 @@ func initMatcherTemplates(matchers []ResourceMatcher, data interface{}) error {
var _ ResourceTemplateMatcher = &OrSelector{}
// OrSelector is a kio.Filter that selects resources when that match all of its embedded
// AndSelector is a kio.Filter that selects resources when that match all of its embedded
// matchers.
type AndSelector struct {
// Matchers is the list of ResourceMatchers to try on the input resources.

View File

@@ -167,7 +167,7 @@ func (c *Filter) setupExec() error {
return nil
}
// getArgs returns the command + args to run to spawn the container
// getCommand returns the command + args to run to spawn the container
func (c *Filter) getCommand() (string, []string) {
network := runtimeutil.NetworkNameNone
if c.ContainerSpec.Network {