DigitalOceanPHP / Client

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

dropletClient->getAll return empty array #305

Closed mrahmadt closed 1 year ago

mrahmadt commented 2 years ago

Hello

I noticed something strange that I'm not sure if this is an issue related to this library or maybe something else

If I run the following command (and I noticed this only happens to me when using Laravel scheduler) sometime dropletClient->getAll(tag) will return an empty array (no error) while I still have multiple droplets with the specified tag

$dropletClient = DigitalOcean::droplet();

//Run the below command in multiple functions in my script
$dropletClient->getAll($myTag)

The only way to get the correct result is to create a new droplet (I tested only creating new droplet, not sure about other function)

What do you think is the issue?

mrahmadt commented 2 years ago

Not only do I get an empty array, but also seems all the droplets got deleted from my account!

I start losing my mind :)

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because there has been no recent activity. It will be closed after 30 days if no further activity occurs. Thank you for your contributions.