From 4b1e0b85a5f82e93f8a16ca5683d6604d02edfed Mon Sep 17 00:00:00 2001 From: Mayank Aggarwal Date: Thu, 21 Nov 2024 19:34:04 +0530 Subject: [PATCH] Update internal/resourcepolicies/volume_resources_validator.go Co-authored-by: Tiger Kaovilai Signed-off-by: Mayank Aggarwal --- internal/resourcepolicies/volume_resources_validator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/resourcepolicies/volume_resources_validator.go b/internal/resourcepolicies/volume_resources_validator.go index 140be812c5..f2ca97a300 100644 --- a/internal/resourcepolicies/volume_resources_validator.go +++ b/internal/resourcepolicies/volume_resources_validator.go @@ -71,7 +71,7 @@ func (c *nfsCondition) validate() error { func (c *csiCondition) validate() error { if c != nil && c.csi != nil && c.csi.Driver == "" && c.csi.VolumeAttributes != nil { - return errors.New("csi driver should not be empty") + return errors.New("csi driver should not be empty when filtering by volume attributes") } return nil