Merge pull request #46961 from zjj2wry/api_describe
Automatic merge from submit-queue Fix api description **What this PR does / why we need it**: prefered -> preferred the the -> the **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # **Special notes for your reviewer**: **Release note**: ```release-note NONE ```
This commit is contained in:
@@ -1208,7 +1208,7 @@ message HostAlias {
|
||||
// IP address of the host file entry.
|
||||
optional string ip = 1;
|
||||
|
||||
// Hostnames for the the above IP address.
|
||||
// Hostnames for the above IP address.
|
||||
repeated string hostnames = 2;
|
||||
}
|
||||
|
||||
@@ -1749,12 +1749,12 @@ message NodeStatus {
|
||||
// NodeSystemInfo is a set of ids/uuids to uniquely identify the node.
|
||||
message NodeSystemInfo {
|
||||
// MachineID reported by the node. For unique machine identification
|
||||
// in the cluster this field is prefered. Learn more from man(5)
|
||||
// in the cluster this field is preferred. Learn more from man(5)
|
||||
// machine-id: http://man7.org/linux/man-pages/man5/machine-id.5.html
|
||||
optional string machineID = 1;
|
||||
|
||||
// SystemUUID reported by the node. For unique machine identification
|
||||
// MachineID is prefered. This field is specific to Red Hat hosts
|
||||
// MachineID is preferred. This field is specific to Red Hat hosts
|
||||
// https://access.redhat.com/documentation/en-US/Red_Hat_Subscription_Management/1/html/RHSM/getting-system-uuid.html
|
||||
optional string systemUUID = 2;
|
||||
|
||||
|
@@ -2527,7 +2527,7 @@ type PodSpec struct {
|
||||
type HostAlias struct {
|
||||
// IP address of the host file entry.
|
||||
IP string `json:"ip,omitempty" protobuf:"bytes,1,opt,name=ip"`
|
||||
// Hostnames for the the above IP address.
|
||||
// Hostnames for the above IP address.
|
||||
Hostnames []string `json:"hostnames,omitempty" protobuf:"bytes,2,rep,name=hostnames"`
|
||||
}
|
||||
|
||||
@@ -3316,11 +3316,11 @@ type NodeDaemonEndpoints struct {
|
||||
// NodeSystemInfo is a set of ids/uuids to uniquely identify the node.
|
||||
type NodeSystemInfo struct {
|
||||
// MachineID reported by the node. For unique machine identification
|
||||
// in the cluster this field is prefered. Learn more from man(5)
|
||||
// in the cluster this field is preferred. Learn more from man(5)
|
||||
// machine-id: http://man7.org/linux/man-pages/man5/machine-id.5.html
|
||||
MachineID string `json:"machineID" protobuf:"bytes,1,opt,name=machineID"`
|
||||
// SystemUUID reported by the node. For unique machine identification
|
||||
// MachineID is prefered. This field is specific to Red Hat hosts
|
||||
// MachineID is preferred. This field is specific to Red Hat hosts
|
||||
// https://access.redhat.com/documentation/en-US/Red_Hat_Subscription_Management/1/html/RHSM/getting-system-uuid.html
|
||||
SystemUUID string `json:"systemUUID" protobuf:"bytes,2,opt,name=systemUUID"`
|
||||
// Boot ID reported by the node.
|
||||
|
@@ -645,7 +645,7 @@ func (Handler) SwaggerDoc() map[string]string {
|
||||
var map_HostAlias = map[string]string{
|
||||
"": "HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.",
|
||||
"ip": "IP address of the host file entry.",
|
||||
"hostnames": "Hostnames for the the above IP address.",
|
||||
"hostnames": "Hostnames for the above IP address.",
|
||||
}
|
||||
|
||||
func (HostAlias) SwaggerDoc() map[string]string {
|
||||
@@ -998,8 +998,8 @@ func (NodeStatus) SwaggerDoc() map[string]string {
|
||||
|
||||
var map_NodeSystemInfo = map[string]string{
|
||||
"": "NodeSystemInfo is a set of ids/uuids to uniquely identify the node.",
|
||||
"machineID": "MachineID reported by the node. For unique machine identification in the cluster this field is prefered. Learn more from man(5) machine-id: http://man7.org/linux/man-pages/man5/machine-id.5.html",
|
||||
"systemUUID": "SystemUUID reported by the node. For unique machine identification MachineID is prefered. This field is specific to Red Hat hosts https://access.redhat.com/documentation/en-US/Red_Hat_Subscription_Management/1/html/RHSM/getting-system-uuid.html",
|
||||
"machineID": "MachineID reported by the node. For unique machine identification in the cluster this field is preferred. Learn more from man(5) machine-id: http://man7.org/linux/man-pages/man5/machine-id.5.html",
|
||||
"systemUUID": "SystemUUID reported by the node. For unique machine identification MachineID is preferred. This field is specific to Red Hat hosts https://access.redhat.com/documentation/en-US/Red_Hat_Subscription_Management/1/html/RHSM/getting-system-uuid.html",
|
||||
"bootID": "Boot ID reported by the node.",
|
||||
"kernelVersion": "Kernel Version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64).",
|
||||
"osImage": "OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy)).",
|
||||
|
Reference in New Issue
Block a user