vultr / govultr

Vultr Go API client
MIT License
232 stars 56 forks source link

[BUG] - Startup script updates do not omit empty values #295

Closed optik-aper closed 8 months ago

optik-aper commented 9 months ago

Describe the bug Updates use the same struct as create and therefore do not allow nil values to be passed in or omitted when the JSON body is marshalled for the request.

To Reproduce Steps to reproduce the behavior:

Expected behavior Partial updates should be supported per the API documentation

optik-aper commented 8 months ago

Fixed in #299