Skip to content

Commit 935b857

Browse files
authored
Merge pull request #289 from timoreimann/cleanup-snapshots-before-volumes
Cleanup snapshots before volumes
2 parents 5f48a39 + e28d78a commit 935b857

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
@@ -248,8 +248,8 @@ func (cl *Resources) Cleanup() {
248248
defer cl.mutex.Unlock()
249249
ctx := context.Background()
250250

251-
cl.deleteVolumes(ctx, 2)
252251
cl.deleteSnapshots(ctx, 2)
252+
cl.deleteVolumes(ctx, 2)
253253
}
254254

255255
func (cl *Resources) deleteVolumes(ctx context.Context, offset int) {

0 commit comments

Comments
 (0)