nimbella / nimbella-deployer

The Nimbella platform deployer library
Apache License 2.0
2 stars 4 forks source link

Fail silently if call is unable to use trigger API #105

Closed joshuaauerbachwatson closed 2 years ago

joshuaauerbachwatson commented 2 years ago

During the beta period for scheduled functions in DigitalOcean, the deployer must not throw an error just because the caller is unable to list triggers. The list triggers API call is made routinely during "wipe" operations (namespace or package) or when an action is deleted. Some users won't be enabled for the triggers API, so the list request will fail. Such users don't have any triggers anyway, so the appropriate response is to return an empty list and proceed.