Skip to content

Commit

Permalink
[issue-1198] fix lint
Browse files Browse the repository at this point in the history
Signed-off-by: katarzynakulpa <[email protected]>
  • Loading branch information
katarzynakulpa committed Jul 10, 2024
1 parent 77a382e commit f0bbf0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/node/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit f0bbf0e

Please sign in to comment.