diff --git a/pkg/scheduler/internal/queue/events.go b/pkg/scheduler/internal/queue/events.go index 475b6635440..ddfc6c8240b 100644 --- a/pkg/scheduler/internal/queue/events.go +++ b/pkg/scheduler/internal/queue/events.go @@ -70,13 +70,13 @@ var ( CSINodeAdd = framework.ClusterEvent{Resource: framework.CSINode, ActionType: framework.Add, Label: "CSINodeAdd"} // CSINodeUpdate is the event when a CSI node is updated in the cluster. CSINodeUpdate = framework.ClusterEvent{Resource: framework.CSINode, ActionType: framework.Update, Label: "CSINodeUpdate"} - // CSIDriverAdd is the event when a CSI node is added in the cluster. + // CSIDriverAdd is the event when a CSI driver is added in the cluster. CSIDriverAdd = framework.ClusterEvent{Resource: framework.CSIDriver, ActionType: framework.Add, Label: "CSIDriverAdd"} - // CSIDriverUpdate is the event when a CSI node is updated in the cluster. + // CSIDriverUpdate is the event when a CSI driver is updated in the cluster. CSIDriverUpdate = framework.ClusterEvent{Resource: framework.CSIDriver, ActionType: framework.Update, Label: "CSIDriverUpdate"} - // CSIStorageCapacityAdd is the event when a CSI node is added in the cluster. + // CSIStorageCapacityAdd is the event when a CSI storage capacity is added in the cluster. CSIStorageCapacityAdd = framework.ClusterEvent{Resource: framework.CSIStorageCapacity, ActionType: framework.Add, Label: "CSIStorageCapacityAdd"} - // CSIStorageCapacityUpdate is the event when a CSI node is updated in the cluster. + // CSIStorageCapacityUpdate is the event when a CSI storage capacity is updated in the cluster. CSIStorageCapacityUpdate = framework.ClusterEvent{Resource: framework.CSIStorageCapacity, ActionType: framework.Update, Label: "CSIStorageCapacityUpdate"} // ServiceAdd is the event when a service is added in the cluster. ServiceAdd = framework.ClusterEvent{Resource: framework.Service, ActionType: framework.Add, Label: "ServiceAdd"}