fix inconsistent comment in device plugin api
Kubernetes-commit: f8d3c45d1a9fb25ab3df697a0a59c05c7d60d586
This commit is contained in:
parent
7c49806e76
commit
56e9dcaef1
|
|
@ -199,7 +199,7 @@ func (m *ListAndWatchResponse) GetDevices() []*Device {
|
||||||
// E.g:
|
// E.g:
|
||||||
// struct Device {
|
// struct Device {
|
||||||
// ID: "GPU-fef8089b-4820-abfc-e83e-94318197576e",
|
// ID: "GPU-fef8089b-4820-abfc-e83e-94318197576e",
|
||||||
// State: "Healthy",
|
// Health: "Healthy",
|
||||||
//}
|
//}
|
||||||
type Device struct {
|
type Device struct {
|
||||||
// A unique ID assigned by the device plugin used
|
// A unique ID assigned by the device plugin used
|
||||||
|
|
|
||||||
|
|
@ -60,7 +60,7 @@ message ListAndWatchResponse {
|
||||||
/* E.g:
|
/* E.g:
|
||||||
* struct Device {
|
* struct Device {
|
||||||
* ID: "GPU-fef8089b-4820-abfc-e83e-94318197576e",
|
* ID: "GPU-fef8089b-4820-abfc-e83e-94318197576e",
|
||||||
* State: "Healthy",
|
* Health: "Healthy",
|
||||||
*} */
|
*} */
|
||||||
message Device {
|
message Device {
|
||||||
// A unique ID assigned by the device plugin used
|
// A unique ID assigned by the device plugin used
|
||||||
|
|
|
||||||
|
|
@ -344,7 +344,7 @@ func (m *NUMANode) GetID() int64 {
|
||||||
// E.g:
|
// E.g:
|
||||||
// struct Device {
|
// struct Device {
|
||||||
// ID: "GPU-fef8089b-4820-abfc-e83e-94318197576e",
|
// ID: "GPU-fef8089b-4820-abfc-e83e-94318197576e",
|
||||||
// State: "Healthy",
|
// Health: "Healthy",
|
||||||
// Topology:
|
// Topology:
|
||||||
// Node:
|
// Node:
|
||||||
//ID: 1
|
//ID: 1
|
||||||
|
|
|
||||||
|
|
@ -84,7 +84,7 @@ message NUMANode {
|
||||||
/* E.g:
|
/* E.g:
|
||||||
* struct Device {
|
* struct Device {
|
||||||
* ID: "GPU-fef8089b-4820-abfc-e83e-94318197576e",
|
* ID: "GPU-fef8089b-4820-abfc-e83e-94318197576e",
|
||||||
* State: "Healthy",
|
* Health: "Healthy",
|
||||||
* Topology:
|
* Topology:
|
||||||
* Node:
|
* Node:
|
||||||
ID: 1
|
ID: 1
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue