docstring improvements and typo fixes (#7862)
This commit is contained in:
parent
a0df437c62
commit
22e3815e8c
|
@ -712,6 +712,10 @@ func (p *CSIPlugin) AddPlugin(nodeID string, info *CSIInfo) error {
|
|||
p.ControllersHealthy -= 1
|
||||
}
|
||||
}
|
||||
// note: for this to work as expected, only a single
|
||||
// controller for a given plugin can be on a given Nomad
|
||||
// client, they also conflict on the client so this should be
|
||||
// ok
|
||||
p.Controllers[nodeID] = info
|
||||
if info.Healthy {
|
||||
p.ControllersHealthy += 1
|
||||
|
|
|
@ -121,7 +121,7 @@ type CSIControllerInfo struct {
|
|||
// the controller attachment flow.
|
||||
SupportsAttachDetach bool
|
||||
|
||||
// SupportsListVolums is true when the controller implements the ListVolumes
|
||||
// SupportsListVolumes is true when the controller implements the ListVolumes
|
||||
// RPC. NOTE: This does not guaruntee that attached nodes will be returned
|
||||
// unless SupportsListVolumesAttachedNodes is also true.
|
||||
SupportsListVolumes bool
|
||||
|
|
Loading…
Reference in New Issue