thousandeyes / thousandeyes-sdk-go

Thousandeyes golang API wrapper
Apache License 2.0
12 stars 23 forks source link

Default value for DesiredStatusCode #117

Open ishantanu opened 1 year ago

ishantanu commented 1 year ago

Hello,

I noticed that there's no default value for DesiredStatusCode. The UI has a checkmark for Desired status code as Default (2xx or 3xx).

So, if a user doesn't specify the desired status code manually, DesiredStatusCode returns nil.

As a result, we cannot use the default checkmark in the UI and get a default response in the DesiredStatusCode field.