You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 21, 2021. It is now read-only.
If the boolean value is false there was a problem. If the *ServerStats slice is empty or nil, then the error happened before we started to obtain 'srvr' values. Otherwise, one of the servers had an issue and the "Error" value in the struct should be inspected to determine which server had the issue.
The golang convention is to use some kind of error type, not a bool. This should especially happen when the there are no srvr values to extract an error from.
Maybe a custom error type that holds a slice of affected servers?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The description states:
The golang convention is to use some kind of
error
type, not abool
. This should especially happen when the there are nosrvr
values to extract an error from.Maybe a custom error type that holds a slice of affected servers?
The text was updated successfully, but these errors were encountered: