-
Notifications
You must be signed in to change notification settings - Fork 932
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
Update user-provided service tags #474
Conversation
[#61861194]
- Plan validation in separate function [#72117050]
- Fixing a bug where passing arbitrary params without a plan change would result in making no changes [#96250704]
- Add ui_helpers/tags_parser.go [#72117050]
[#72117050]
- Improve params example to resemble a bind [#96320118] and [#72117050]
Conflicts: cf/commands/service/update_service.go cf/i18n/resources/de_DE.all.json cf/i18n/resources/en_US.all.json cf/i18n/resources/es_ES.all.json cf/i18n/resources/fr_FR.all.json cf/i18n/resources/it_IT.all.json cf/i18n/resources/ja_JA.all.json cf/i18n/resources/pt_BR.all.json cf/i18n/resources/zh_Hans.all.json cf/i18n/resources/zh_Hant.all.json
Hey rmasand! Thanks for submitting this pull request! I'm here to inform the recipients of the pull request that you've already signed the CLA. |
We have created an issue in Pivotal Tracker to manage this. You can view the current status of your issue at: https://www.pivotaltracker.com/story/show/96505298. |
@@ -203,7 +203,7 @@ var _ = Describe("Services Repo", func() { | |||
Response: testnet.TestResponse{Status: http.StatusCreated}, | |||
})) | |||
|
|||
err := repo.CreateServiceInstance("instance-name", "plan-guid", nil) | |||
err := repo.CreateServiceInstance("instance-name", "plan-guid", nil, nil) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I kind of hate seeing these nil
s all over the place when we could use empty string array... But eh, that's just me.
Though hopefully we are testing for case when tags is empty array vs nil...
Thanks a bunch for fixing this. Merged. |
Update user-provided service tags
This PR includes changes to add the "-t" flag for update-service. We've also fixed that command so users can update instance tags and/or arbitrary params without supplying an updated plan. Some cleanup of translated strings is included as well.
https://www.pivotaltracker.com/story/show/72117050