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
Marking stale due to inactivity. Remove stale label or comment or this will be closed in 7 days. Alternatively drop by the #sous-chefs channel on the Chef Community Slack and we'll be happy to help! Thanks, Sous-Chefs.
Cookbook version
8.0.0
Chef-client version
>= 12.17
Platform Details
Ubuntu Trusty / Xenial
Scenario:
Use pop() methods in the various libraries.
Steps to Reproduce:
Try to pop a value out of a Nagios::Service, receive
ArgumentError - wrong number of arguments (given 2, expected 1)
I'll note that pop() on Nagios::Host works as expected. The contents of the methods in the two classes is a bit different:
Service:
nagios/libraries/service.rb
Lines 199 to 206 in 8a909f2
I can't see any way that L205 would work, and this is source of the exception
Compare to:
Host
nagios/libraries/host.rb
Lines 177 to 184 in 8a909f2
I have a PR available for this one too, but though it may warrant discussion in case my experience was unexpected.
The text was updated successfully, but these errors were encountered: