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 tag removal in vm tags resource #240

Merged
merged 1 commit into from
Feb 18, 2020
Merged

Fix tag removal in vm tags resource #240

merged 1 commit into from
Feb 18, 2020

Conversation

annakhm
Copy link
Collaborator

@annakhm annakhm commented Feb 15, 2020

In order to update tags to empty list, sdk expects empty slice,
rather then nil slice, to be passed to update tags call. This way
tags will not be omitted from API call.
This doesn't affect general resources, since update function
uses PUT Api which will wipe out tags if not passed.

In order to update tags to empty list, sdk expects empty slice,
rather then nil slice, to be passed to update tags call. This way
tags will not be omitted from API call.
This doesn't affect general resources, since update function
uses PUT Api which will wipe out tags if not passed.
@ghost ghost added the size/XS label Feb 15, 2020
@annakhm annakhm merged commit 4dec826 into master Feb 18, 2020
@annakhm annakhm deleted the fix_empty_tags branch June 1, 2020 23:17
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

2 participants