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

fix(Catalog Management): add metadata and lastoperation to offering i… #126

Merged
merged 1 commit into from
Jun 9, 2021

Conversation

JonWoodlief
Copy link
Member

…nstance

PR summary

add metadata and lastoperation to offering instance

PR Checklist

Please make sure that your PR fulfills the following requirements:

  • The commit message follows the Angular Commit Message Guidelines.
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

Current vs new behavior

add metadata and lastoperation to offering instance object

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

@JonWoodlief JonWoodlief requested a review from padamstx June 8, 2021 15:10
Copy link
Member

@padamstx padamstx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good... just had one suggested change on the print statement in the int test.
I'll approve now to avoid a re-review and just holler when you want me to merge in the PR.

@@ -2119,6 +2120,9 @@ var _ = Describe(`CatalogManagementV1 Integration Tests (New)`, func() {

offeringInstance, response, err := catalogManagementService.GetOfferingInstance(getOfferingInstanceOptions)

fmt.Printf("%v\n", offeringInstance.Metadata)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
fmt.Printf("%v\n", offeringInstance.Metadata)
fmt.Fprintf(GinkgoWriter, "%v\n", offeringInstance.Metadata)

By using this form (similar to the print statement a few lines later), we see the output only if the -ginkgo.v command line option is used on the go test command.

@JonWoodlief
Copy link
Member Author

I removed that print statement, since the metadata will be printed when the entire offering instance object is printed later on, it doesn't seem necessary to have it twice.

@padamstx ready to merge

@padamstx padamstx merged commit 097f824 into IBM:main Jun 9, 2021
ibm-devx-sdk pushed a commit that referenced this pull request Jun 9, 2021
## [0.18.16](v0.18.15...v0.18.16) (2021-06-09)

### Bug Fixes

* **Catalog Management:** add metadata and lastoperation to offering instance ([#126](#126)) ([097f824](097f824))
@ibm-devx-sdk
Copy link

🎉 This PR is included in version 0.18.16 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants