Skip to content

Commit

Permalink
Merge pull request #289 from timoreimann/cleanup-snapshots-before-vol…
Browse files Browse the repository at this point in the history
…umes

Cleanup snapshots before volumes
  • Loading branch information
k8s-ci-robot authored Sep 2, 2020
2 parents 5f48a39 + e28d78a commit 935b857
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/sanity/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,8 @@ func (cl *Resources) Cleanup() {
defer cl.mutex.Unlock()
ctx := context.Background()

cl.deleteVolumes(ctx, 2)
cl.deleteSnapshots(ctx, 2)
cl.deleteVolumes(ctx, 2)
}

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

0 comments on commit 935b857

Please sign in to comment.