Unverified Commit 058a8daa authored by Tim Gross's avatar Tim Gross Committed by GitHub
Browse files

docstring improvements and typo fixes (#7862)

parent 65f09ed1
Showing with 5 additions and 1 deletion
+5 -1
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment