Skip to content

Commit 6d79aac

Browse files
authored
Merge pull request #329 from avorima/fix-error-msg
Fix error message for snapshot cleanup
2 parents 31df058 + 62e4b59 commit 6d79aac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/sanity/resources.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ func (cl *Resources) cleanupSnapshot(ctx context.Context, offset int, snapshotID
327327
Secrets: cl.Context.Secrets.DeleteSnapshotSecret,
328328
},
329329
); err != nil {
330-
return []error{fmt.Errorf("NodeUnstageVolume for volume ID %s failed: %s", snapshotID, err)}
330+
return []error{fmt.Errorf("DeleteSnapshot for snapshot ID %s failed: %s", snapshotID, err)}
331331
}
332332

333333
return nil

0 commit comments

Comments
 (0)