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

Update user-provided service tags #474

Merged
merged 7 commits into from
Jun 9, 2015
Merged

Conversation

rainmaker
Copy link
Contributor

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

tanglisha and others added 7 commits June 8, 2015 14:28
- 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]
- 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
@cfdreddbot
Copy link

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.

@cf-gitbot
Copy link

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)
Copy link
Contributor

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 nils 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...

@jberkhahn
Copy link
Contributor

Thanks a bunch for fixing this. Merged.

jberkhahn added a commit that referenced this pull request Jun 9, 2015
@jberkhahn jberkhahn merged commit d37fc85 into master Jun 9, 2015
@Gerg Gerg deleted the cli_update_service_tags branch June 11, 2015 00:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants