mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-26 08:10:20 +00:00
e2e: reformat error message with consistent formatting
To make the error return consistent across e2e tests we have decided to remove with error presence from the logs and this commit does that for e2e/snapshot.go. Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
This commit is contained in:
parent
f7f5a41774
commit
929e17d21b
@ -124,7 +124,7 @@ func deleteSnapshot(snap *snapapi.VolumeSnapshot, t int) error {
|
|||||||
}
|
}
|
||||||
if !apierrs.IsNotFound(err) {
|
if !apierrs.IsNotFound(err) {
|
||||||
return false, fmt.Errorf(
|
return false, fmt.Errorf(
|
||||||
"get on deleted snapshot %v failed with error other than \"not found\": %w",
|
"get on deleted snapshot %v failed : other than \"not found\": %w",
|
||||||
name,
|
name,
|
||||||
err)
|
err)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user