Merge pull request #14478 from yingshanghuangqiao/master

core: Fix some misspelled comments
This commit is contained in:
Travis Nielsen authored and GitHub committed 2024-07-22 10:45:11 -06:00
commit 5328c06d4e
4 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -10255,7 +10255,7 @@ the triple <key,value,effect> using the matching operator <operator></p>
</td>
<td>
<em>(Optional)</em>
<p>TopologySpreadConstraint specifies how to spread matching pods among the given topology</p>
<p>TopologySpreadConstraints specifies how to spread matching pods among the given topology</p>
</td>
</tr>
</tbody>
+1 -1
View File
@@ -2945,7 +2945,7 @@ type Placement struct {
// the triple <key,value,effect> using the matching operator <operator>
// +optional
Tolerations []v1.Toleration `json:"tolerations,omitempty"`
// TopologySpreadConstraint specifies how to spread matching pods among the given topology
// TopologySpreadConstraints specifies how to spread matching pods among the given topology
// +optional
TopologySpreadConstraints []v1.TopologySpreadConstraint `json:"topologySpreadConstraints,omitempty"`
}
+1 -1
View File
@@ -127,7 +127,7 @@ type PolicyStatement struct {
Sid string `json:"Sid"`
// Effect determines whether the Action(s) are 'Allow'ed or 'Deny'ed.
Effect effect `json:"Effect"`
// Principle is/are the Ceph user names affected by this PolicyStatement
// Principal is/are the Ceph user names affected by this PolicyStatement
// Must be in the format of 'arn:aws:iam:::user/<ceph-user>'
Principal map[string][]string `json:"Principal"`
// Action is a list of s3:* actions
+1 -1
View File
@@ -93,7 +93,7 @@ type LocalDisk struct {
Type string `json:"type"`
// Rotational is the boolean whether the device is rotational: true for hdd, false for ssd and nvme
Rotational bool `json:"rotational"`
// ReadOnly is the boolean whether the device is readonly
// Readonly is the boolean whether the device is readonly
Readonly bool `json:"readOnly"`
// Partitions is a partition slice
Partitions []Partition