From b119ca53c3f548a05ce3eb52f894573a010e5bcf Mon Sep 17 00:00:00 2001 From: Michael Lange Date: Thu, 7 May 2020 09:37:51 -0700 Subject: [PATCH] Add ControllersExpected to the PluginListStub --- api/csi.go | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/api/csi.go b/api/csi.go index 7be3682d4..3835c0bdc 100644 --- a/api/csi.go +++ b/api/csi.go @@ -198,13 +198,15 @@ type CSIPlugin struct { Version string ControllerRequired bool // Map Node.ID to CSIInfo fingerprint results - Controllers map[string]*CSIInfo - Nodes map[string]*CSIInfo - Allocations []*AllocationListStub - ControllersHealthy int - NodesHealthy int - CreateIndex uint64 - ModifyIndex uint64 + Controllers map[string]*CSIInfo + Nodes map[string]*CSIInfo + Allocations []*AllocationListStub + ControllersHealthy int + ControllersExpected int + NodesHealthy int + NodesExpected int + CreateIndex uint64 + ModifyIndex uint64 } type CSIPluginListStub struct {