mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 10:33:35 +00:00
cleanup: resolve errorlint issues
This commit resolves errorlint issues which checks for the code that will cause problems with the error wrapping scheme. Updates: #1586 Signed-off-by: Yati Padia <ypadia@redhat.com>
This commit is contained in:
@ -119,7 +119,7 @@ func deleteSnapshot(snap *snapapi.VolumeSnapshot, t int) error {
|
||||
}
|
||||
if !apierrs.IsNotFound(err) {
|
||||
return false, fmt.Errorf(
|
||||
"get on deleted snapshot %v failed with error other than \"not found\": %v",
|
||||
"get on deleted snapshot %v failed with error other than \"not found\": %w",
|
||||
name,
|
||||
err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user