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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 10 additions and 10 deletions

6
assets/swagger.json generated
View file

@ -8254,7 +8254,7 @@
}
},
"v1alpha1ConfigMapKeyRef": {
"description": "Utility struct for a reference to a configmap key.",
"description": "ConfigMapKeyRef struct for a reference to a configmap key.",
"type": "object",
"properties": {
"configMapName": {
@ -9336,7 +9336,7 @@
}
},
"v1alpha1PullRequestGeneratorGithub": {
"description": "PullRequestGenerator defines connection info specific to GitHub.",
"description": "PullRequestGeneratorGithub defines connection info specific to GitHub.",
"type": "object",
"properties": {
"api": {
@ -10340,7 +10340,7 @@
}
},
"v1alpha1SecretRef": {
"description": "Utility struct for a reference to a secret key.",
"description": "SecretRef struct for a reference to a secret key.",
"type": "object",
"properties": {
"key": {

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;