cli
cli copied to clipboard
CF enable-service-access fails when already exists
- Command
cf enable-service-access myservice myorg - What occurred, incl. error and/or stack trace Exits with error code 1 when already exists
- What you expected to occur Because it already exists, the command has in fact succeeded, not failed
- CLI Version
6.21.1 - CC API Endpoint Version
2.57.0 - Platform & Shell Details
All - Any other relevant information
cf commands need to be idempotent and work as expected, current work around is we disable all prior to enabling otherwise we cannot reasonably check bash errors
FYI: We've merged the fix, it should be available in the next CLI release :)