Skip to content

Commit

Permalink
[issue-1198] typos
Browse files Browse the repository at this point in the history
Signed-off-by: katarzynakulpa <[email protected]>
  • Loading branch information
katarzynakulpa committed Jul 9, 2024
1 parent 214696a commit 549d113
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions pkg/node/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ func getStagingPath(logger *logrus.Entry, stagingPath string) string {
}

func (s *CSINodeService) processFakeAttachInNodeStageVolume(
ctx context.Context,
ll *logrus.Entry,
volumeCR *volumecrd.Volume,
targetPath string,
Expand Down Expand Up @@ -379,7 +378,6 @@ func (s *CSINodeService) NodeStageVolume(ctx context.Context, req *csi.NodeStage
}

if err := s.processFakeAttachInNodeStageVolume(
ctx,
ll,
volumeCR,
targetPath,
Expand All @@ -399,9 +397,7 @@ func (s *CSINodeService) NodeStageVolume(ctx context.Context, req *csi.NodeStage
volumeCR.Annotations[wbtChangedVolumeAnnotation] = wbtChangedVolumeKey
}
}
ll.Errorf("raz dwa")
ll.Error(volumeCR)


if currStatus != apiV1.VolumeReady {
volumeCR.Spec.CSIStatus = newStatus
if err := s.k8sClient.UpdateCR(ctx, volumeCR); err != nil {
Expand Down

0 comments on commit 549d113

Please sign in to comment.