philips-software / powershell-cf-api

PowerShell module can deploy and teardown CloudFoundry spaces and services via a json definition file
MIT License
5 stars 6 forks source link

problem with Invoke-Retry #15

Closed lipkau closed 4 years ago

lipkau commented 4 years ago

The current implementation and usage of Invoke-Retry is causing huge delay in case of a login with wrong password, or setting space permissions for a user which does not exist. also, it keeps you from using the server's response as output to the user (user is unable to see why something failed)

Let me know if you are interested in a PR for this.

marklindell commented 4 years ago

Invoke-Retry on passwords should exit on specific failures in that use case. PR would be great.