Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unreachable rescue #3508

Merged

Conversation

philippthun
Copy link
Member

@philippthun philippthun commented Nov 13, 2023

The binding's state is already checked before and if it is not in state create succeeded, a ResourceNotFound error is raised. Thus the LockCheck error can never be raised.

  • I have reviewed the contributing guide

  • I have viewed, signed, and submitted the Contributor License Agreement

  • I have made this pull request to the main branch

  • I have run all the unit tests using bundle exec rake

  • I have run CF Acceptance Tests

The binding's state is already checked before and if it is not in state
'create succeeded', a ResourceNotFound error is raised. Thus the
LockCheck error can never be raised.
@philippthun philippthun marked this pull request as ready for review November 14, 2023 07:15
@philippthun philippthun merged commit 4666ae6 into cloudfoundry:main Nov 20, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants