Skip to content
This repository was archived by the owner on Dec 19, 2019. It is now read-only.
This repository was archived by the owner on Dec 19, 2019. It is now read-only.

nbproc': undefined method []' for nil:NilClass (NoMethodError) #27

@bizmurr

Description

@bizmurr

Hi, with the latest release I get this error when running sudo service haproxyctl show health:

/usr/local/haproxyctl/bin/../lib/haproxyctl/environment.rb:42:in `nbproc': undefined method `[]' for nil:NilClass (NoMethodError)
        from /usr/local/haproxyctl/bin/../lib/haproxyctl/environment.rb:52:in `socket'
        from /usr/local/haproxyctl/bin/../lib/haproxyctl.rb:55:in `unixsock'
        from /etc/init.d/haproxyctl:105

Everything works fine on 1.3.0, I am using CentOS 6.5.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions