vultr / govultr

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

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

Closed optik-aper closed 6 months ago

optik-aper commented 7 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 6 months ago

Fixed in #299