Merge pull request #1702 from AllenZMC/improve_test

Correct the function name error in the comment
This commit is contained in:
karmada-bot 2022-05-02 10:00:19 +08:00 committed by GitHub
commit 30ac5aaa37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -89,7 +89,7 @@ type ClusterCacheSpec struct {
StatusUpdatePeriodSeconds uint32 `json:"statusUpdatePeriodSeconds,omitempty"`
}
// ClusterAffinity represents the filter to select clusters.
// ClusterSelector represents the filter to select clusters.
type ClusterSelector struct {
// LabelSelector is a filter to select member clusters by labels.
// If non-nil and non-empty, only the clusters match this filter will be selected.

View File

@ -76,7 +76,7 @@ func (a *resourceExploringAccessor) GetTimeoutSeconds() *int32 {
return a.TimeoutSeconds
}
// GetExploreReviewVersions gets the webhook InterpreterContextVersions field.
// GetInterpreterContextVersions gets the webhook InterpreterContextVersions field.
func (a *resourceExploringAccessor) GetInterpreterContextVersions() []string {
return a.InterpreterContextVersions
}