fix: typo error in comments (#24650)

Signed-off-by: warjiang <1096409085@qq.com>
This commit is contained in:
warjiang
2025-09-24 01:42:00 +08:00
committed by GitHub
parent 7dacb11b02
commit 983f47e3bb
3 changed files with 10 additions and 10 deletions

View File

@@ -28,13 +28,13 @@ import (
"k8s.io/apimachinery/pkg/util/intstr"
)
// Utility struct for a reference to a secret key.
// SecretRef struct for a reference to a secret key.
type SecretRef struct {
SecretName string `json:"secretName" protobuf:"bytes,1,opt,name=secretName"`
Key string `json:"key" protobuf:"bytes,2,opt,name=key"`
}
// Utility struct for a reference to a configmap key.
// ConfigMapKeyRef struct for a reference to a configmap key.
type ConfigMapKeyRef struct {
ConfigMapName string `json:"configMapName" protobuf:"bytes,1,opt,name=configMapName"`
Key string `json:"key" protobuf:"bytes,2,opt,name=key"`
@@ -675,7 +675,7 @@ type PullRequestGeneratorAzureDevOps struct {
Labels []string `json:"labels,omitempty" protobuf:"bytes,6,rep,name=labels"`
}
// PullRequestGenerator defines connection info specific to GitHub.
// PullRequestGeneratorGithub defines connection info specific to GitHub.
type PullRequestGeneratorGithub struct {
// GitHub org or user to scan. Required.
Owner string `json:"owner" protobuf:"bytes,1,opt,name=owner"`
@@ -824,7 +824,7 @@ type ApplicationSetCondition struct {
Reason string `json:"reason" protobuf:"bytes,5,opt,name=reason"`
}
// SyncStatusCode is a type which represents possible comparison results
// ApplicationSetConditionStatus is a type which represents possible comparison results
type ApplicationSetConditionStatus string
// Application Condition Status

View File

@@ -1009,7 +1009,7 @@ message ConfigManagementPlugin {
optional bool lockRepo = 4;
}
// Utility struct for a reference to a configmap key.
// ConfigMapKeyRef struct for a reference to a configmap key.
message ConfigMapKeyRef {
optional string configMapName = 1;
@@ -1740,7 +1740,7 @@ message PullRequestGeneratorGitea {
repeated string labels = 6;
}
// PullRequestGenerator defines connection info specific to GitHub.
// PullRequestGeneratorGithub defines connection info specific to GitHub.
message PullRequestGeneratorGithub {
// GitHub org or user to scan. Required.
optional string owner = 1;
@@ -2486,7 +2486,7 @@ message SCMProviderGeneratorGitlab {
optional ConfigMapKeyRef caRef = 9;
}
// Utility struct for a reference to a secret key.
// SecretRef struct for a reference to a secret key.
message SecretRef {
optional string secretName = 1;