Skip to content

Unable to list parameters by name - undefined method `each_pair' #22

Open
@ghost

Description

When I try to list_parameters_of by name, I get this error:

> client.list_parameters_of('federation-upstream', 'monitor', '33ac8c46007794dee1a6')
NoMethodError: undefined method `each_pair' for #<Array:0x0000000153b1e0>
from /var/lib/gems/2.2.0/gems/hashie-3.4.1/lib/hashie/mash.rb:179:in `deep_update'

If I don't list by name, I see the parameters as expected:

> client.list_parameters_of('federation-upstream', 'monitor')
=> [{"value"=>{"uri"=>"amqp://33ac8c46007794dee1a6:password@vpn.33ac8c46007794dee1a6/monitor", "reconnect-delay"=>30}, "vhost"=>"monitor", "component"=>"federation-upstream", "name"=>"33ac8c46007794dee1a6"}]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions