Issue #7046 has been reported by R.I. Pienaar.

----------------------------------------
Bug #7046: discovery agent defaults to 0 second tmeout
https://projects.puppetlabs.com/issues/7046

Author: R.I. Pienaar
Status: Accepted
Priority: Normal
Assignee: R.I. Pienaar
Category: Plugins
Target version: 
Keywords: 
Branch: 
Affected mCollective version: 


There's a logic error in:

<pre>
@timeout = Config.instance.pluginconf["discovery.timeout"].to_i || 5
</pre>

nil.to_i returns 0 which means the 5 never takes effect.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to