Skip to content

Commit

Permalink
Signed-off-by: v.oleynikov <vasily.oleynikov@flant.com>
Browse files Browse the repository at this point in the history
  • Loading branch information
duckhawk committed Feb 19, 2025
1 parent 724561b commit 28afaa8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions images/sds-local-volume-csi/src/driver/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ func (d *Driver) CreateVolume(ctx context.Context, request *csi.CreateVolumeRequ

func (d *Driver) DeleteVolume(ctx context.Context, request *csi.DeleteVolumeRequest) (*csi.DeleteVolumeResponse, error) {
traceID := uuid.New().String()
d.log.Info("[DeleteVolume][traceID:%s] ========== Start DeleteVolume ============", traceID)
d.log.Info(fmt.Sprintf("[DeleteVolume][traceID:%s] ========== Start DeleteVolume ============", traceID))
if len(request.VolumeId) == 0 {
return nil, status.Error(codes.InvalidArgument, "Volume ID cannot be empty")
}
Expand All @@ -323,7 +323,7 @@ func (d *Driver) DeleteVolume(ctx context.Context, request *csi.DeleteVolumeRequ
return nil, err
}
d.log.Info(fmt.Sprintf("[DeleteVolume][traceID:%s][volumeID:%s] Volume deleted successfully", traceID, request.VolumeId))
d.log.Info("[DeleteVolume][traceID:%s] ========== END DeleteVolume ============", traceID)
d.log.Info(fmt.Sprintf("[DeleteVolume][traceID:%s] ========== END DeleteVolume ============", traceID))
return &csi.DeleteVolumeResponse{}, nil
}

Expand Down

0 comments on commit 28afaa8

Please sign in to comment.