mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 06:54:01 +00:00
Merge pull request #83757 from chendotjs/device-plugin-fix
fix inconsistent comment in device plugin api
This commit is contained in:
commit
81a8b9804a
@ -199,7 +199,7 @@ func (m *ListAndWatchResponse) GetDevices() []*Device {
|
||||
// E.g:
|
||||
// struct Device {
|
||||
// ID: "GPU-fef8089b-4820-abfc-e83e-94318197576e",
|
||||
// State: "Healthy",
|
||||
// Health: "Healthy",
|
||||
//}
|
||||
type Device struct {
|
||||
// A unique ID assigned by the device plugin used
|
||||
|
@ -60,7 +60,7 @@ message ListAndWatchResponse {
|
||||
/* E.g:
|
||||
* struct Device {
|
||||
* ID: "GPU-fef8089b-4820-abfc-e83e-94318197576e",
|
||||
* State: "Healthy",
|
||||
* Health: "Healthy",
|
||||
*} */
|
||||
message Device {
|
||||
// A unique ID assigned by the device plugin used
|
||||
|
@ -344,7 +344,7 @@ func (m *NUMANode) GetID() int64 {
|
||||
// E.g:
|
||||
// struct Device {
|
||||
// ID: "GPU-fef8089b-4820-abfc-e83e-94318197576e",
|
||||
// State: "Healthy",
|
||||
// Health: "Healthy",
|
||||
// Topology:
|
||||
// Node:
|
||||
//ID: 1
|
||||
|
@ -84,7 +84,7 @@ message NUMANode {
|
||||
/* E.g:
|
||||
* struct Device {
|
||||
* ID: "GPU-fef8089b-4820-abfc-e83e-94318197576e",
|
||||
* State: "Healthy",
|
||||
* Health: "Healthy",
|
||||
* Topology:
|
||||
* Node:
|
||||
ID: 1
|
||||
|
Loading…
Reference in New Issue
Block a user