Sweeper: More possible volume names.
This commit is contained in:
parent
5d01382b9a
commit
c3cb760e49
|
@ -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])
|
||||
|
|
Loading…
Reference in New Issue