From f0bbf0e3dc61b20a8ae855bb21f43f9862eff021 Mon Sep 17 00:00:00 2001 From: katarzynakulpa Date: Wed, 10 Jul 2024 03:01:20 +0200 Subject: [PATCH] [issue-1198] fix lint Signed-off-by: katarzynakulpa --- pkg/node/node.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/node/node.go b/pkg/node/node.go index 74f15a01e..dec17bc13 100644 --- a/pkg/node/node.go +++ b/pkg/node/node.go @@ -397,7 +397,7 @@ func (s *CSINodeService) NodeStageVolume(ctx context.Context, req *csi.NodeStage volumeCR.Annotations[wbtChangedVolumeAnnotation] = wbtChangedVolumeKey } } - + if currStatus != apiV1.VolumeReady { volumeCR.Spec.CSIStatus = newStatus if err := s.k8sClient.UpdateCR(ctx, volumeCR); err != nil {