DigitalOceanPHP / Client

DigitalOcean API v2 client for PHP
MIT License
710 stars 205 forks source link

[4.4] Delete droplets matching tag name #283

Closed webignition closed 3 years ago

webignition commented 3 years ago

Fixes #282

Overview Allows the deletion of one of more droplets by specifying a tag name.

Tests No changes made to existing test suite. The test suite doesn't appear to cover the execution of individual api-related method calls, therefore not sure of the best approach to updating the existing test suite to provide evidence that this works.

I have executed a somewhat-manual CLI test script to verify that a droplet is deleted as expected when DigitalOceanV2\Api\Droplet::removeAll() is called.

I am using this fork in a project and when using the fork to delete a droplet by tag name I am observing the correct behaviour.

GrahamCampbell commented 3 years ago

Thanks. :)