mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 15:37:24 +00:00
Merge pull request #39061 from xulike666/fix-typo-assistant
Automatic merge from submit-queue Fix typo for federation/* **What this PR does / why we need it**: Increase code readability for this new member in v1.5 **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: **Special notes for your reviewer**: Could we develop a typo-fix bot along with a k8s terminology dictionary ? **Release note**: ```release-note ```
This commit is contained in:
@@ -76,7 +76,7 @@ type ClusterCondition struct {
|
||||
Message string
|
||||
}
|
||||
|
||||
// ClusterStatus is information about the current status of a cluster updated by cluster controller peridocally.
|
||||
// ClusterStatus is information about the current status of a cluster updated by cluster controller periodically.
|
||||
type ClusterStatus struct {
|
||||
// Conditions is an array of current cluster conditions.
|
||||
// +optional
|
||||
@@ -124,8 +124,8 @@ type ClusterList struct {
|
||||
// Temporary/alpha structures to support custom replica assignments within FederatedReplicaSet.
|
||||
|
||||
// A set of preferences that can be added to federated version of ReplicaSet as a json-serialized annotation.
|
||||
// The preferences allow the user to express in which culsters he wants to put his replicas within the
|
||||
// mentiond FederatedReplicaSet.
|
||||
// The preferences allow the user to express in which clusters he wants to put his replicas within the
|
||||
// mentioned FederatedReplicaSet.
|
||||
type FederatedReplicaSetPreferences struct {
|
||||
// If set to true then already scheduled and running replicas may be moved to other clusters to
|
||||
// in order to bring cluster replicasets towards a desired state. Otherwise, if set to false,
|
||||
|
||||
@@ -76,7 +76,7 @@ type ClusterCondition struct {
|
||||
Message string `json:"message,omitempty" protobuf:"bytes,6,opt,name=message"`
|
||||
}
|
||||
|
||||
// ClusterStatus is information about the current status of a cluster updated by cluster controller peridocally.
|
||||
// ClusterStatus is information about the current status of a cluster updated by cluster controller periodically.
|
||||
type ClusterStatus struct {
|
||||
// Conditions is an array of current cluster conditions.
|
||||
// +optional
|
||||
|
||||
@@ -76,7 +76,7 @@ func TestValidateCluster(t *testing.T) {
|
||||
for testName, errorCase := range errorCases {
|
||||
errs := ValidateCluster(&errorCase)
|
||||
if len(errs) == 0 {
|
||||
t.Errorf("expected failur for %s", testName)
|
||||
t.Errorf("expected failure for %s", testName)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11350,7 +11350,7 @@
|
||||
}
|
||||
},
|
||||
"v1beta1.ClusterStatus": {
|
||||
"description": "ClusterStatus is information about the current status of a cluster updated by cluster controller peridocally.",
|
||||
"description": "ClusterStatus is information about the current status of a cluster updated by cluster controller periodically.",
|
||||
"properties": {
|
||||
"conditions": {
|
||||
"description": "Conditions is an array of current cluster conditions.",
|
||||
|
||||
Reference in New Issue
Block a user