The deployment-alias field has the following behavior:
Not added in request -> Don't update field
Set to empty value -> Remove deployment alias
Set to non-empty value -> Set alias to that value
So with the old spec, it wasn't possible to remove the alias after it was set, as due to omitempty an empty value is not added to the request. This is now possible.
Description
Related Issues
Motivation and Context
How Has This Been Tested?
Types of Changes
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Refactoring (improves code quality but has no user-facing effect)
[x] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation
Readiness Checklist
[x] My code follows the code style of this project
[ ] My change requires a change to the documentation
The deployment-alias field has the following behavior:
So with the old spec, it wasn't possible to remove the alias after it was set, as due to
omitempty
an empty value is not added to the request. This is now possible.Description
Related Issues
Motivation and Context
How Has This Been Tested?
Types of Changes
Readiness Checklist