Sweeper: More possible volume names.

This commit is contained in:
Andrew Starr-Bochicchio 2018-11-28 18:18:22 -05:00
parent 5d01382b9a
commit c3cb760e49
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ func testSweepVolumes(region string) error {
}
for _, v := range volumes {
if strings.HasPrefix(v.Name, "volume-") {
if strings.HasPrefix(v.Name, "volume-") || strings.HasPrefix(v.Name, "tf-acc-test-") {
if len(v.DropletIDs) > 0 {
log.Printf("Detaching volume %v from Droplet %v", v.ID, v.DropletIDs[0])