We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc60ed7 commit 92098cdCopy full SHA for 92098cd
handlers/information.go
@@ -44,7 +44,7 @@ type GetHaproxyProcessInfoHandlerImpl struct {
44
// Handle executing the request and returning a response
45
func (h *GetHaproxyProcessInfoHandlerImpl) Handle(params information.GetHaproxyProcessInfoParams, principal interface{}) middleware.Responder {
46
info, err := h.Client.Runtime.GetInfo()
47
- if err != nil || len(info) == 0 {
+ if err != nil {
48
code := misc.ErrHTTPInternalServerError
49
msg := err.Error()
50
e := &models.Error{
0 commit comments