cli icon indicating copy to clipboard operation
cli copied to clipboard

CF enable-service-access fails when already exists

Open sharms opened this issue 10 years ago • 21 comments

  • 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

sharms avatar Aug 22 '16 21:08 sharms

FYI: We've merged the fix, it should be available in the next CLI release :)

AartiKriplani avatar Feb 05 '19 11:02 AartiKriplani