Skip to content

Commit

Permalink
UB-1432: returning acutal error
Browse files Browse the repository at this point in the history
  • Loading branch information
olgasht committed Nov 1, 2018
1 parent ba92de5 commit b2b133e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion local/scbe/scbe.go
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ func (s *scbeLocalClient) RemoveVolume(removeVolumeRequest resources.RemoveVolum
}

// REMOVE THIS!!!
return s.logger.ErrorRet(err, "######TRYING TO DO IDEMPOTENT ISSUE")
return s.logger.ErrorRet(fmt.Errorf("some error"), "######TRYING TO DO IDEMPOTENT ISSUE")

if err = s.dataModel.DeleteVolume(removeVolumeRequest.Name); err != nil {
return s.logger.ErrorRet(err, "dataModel.DeleteVolume failed")
Expand Down

0 comments on commit b2b133e

Please sign in to comment.