vmware-tanzu-labs/cf-mgmt

org update metadata if required, only

freudl opened this issue · 2 comments

Describe the bug

  • Given an org with metadata
  • When cf-mgmt update-orgs-metadata is run multiple times
  • When config remains identical
  • When no other CF API changes occured
  • Then there is no CF API request to modify metadata
  • Then there is no audit event with empty changes

Similar

  • Given an org with metadata
  • When cf-mgmt update-orgs-metadata --peek is run
  • Then cli reports actions
  • Then CF API remains untouched

To Reproduce

See above

Expected behavior

See above

Screenshots

Desktop (please complete the following information):

  • OS: macOS 14.2.1 (23C71)
  • cf-mgmt v1.0.79
  • go version go1.21.5 darwin/arm64

We have created an issue in Pivotal Tracker to manage this. Unfortunately, the Pivotal Tracker project is private so you may be unable to view the contents of the story.

The labels on this github issue will be updated when the story is started.