chiradeep / go-nitro

A Golang client to the Citrix ADC API
Apache License 2.0
18 stars 21 forks source link

Allow for actOnResource to take empty action #33

Closed giorgos-nikolopoulos closed 4 years ago

giorgos-nikolopoulos commented 4 years ago

Allow for empty action.

This is needed to successfully implement the reboot ADC action.

The request should be formed like so

POST URL: http://nsip/nitro/v1/config/reboot
POST BODY: { reboot { warm: true}}
chiradeep commented 4 years ago

LGTM. Please add a test if possible