Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #5434: change the frequency of agent per agent #654

Conversation

VinceMacBuche
Copy link
Member

No description provided.


def json = {

val overrideValue = overrides.map(_.toString).getOrElse("null")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why null ?? this looks fishy

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

using the null in javascript is """"""""" like """"""""" (note the quote) is like using an option type.

I use it to denote that override is not relevant ... I also could use undefined, but null is more acceted as "property has no value"

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, thanks for the explaination

@VinceMacBuche VinceMacBuche force-pushed the ust_5293/dev_5434_frequencey_per_node branch from 6f6829e to 8394338 Compare October 31, 2014 08:48
@@ -82,6 +86,8 @@ object DisplayNode extends Loggable {
private[this] val uuidGen = RudderConfig.stringUuidGenerator
private[this] val nodeInfoService = RudderConfig.nodeInfoService

private[this] val nodeRepo = RudderConfig.woNodeRepository

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why this change ? is it used somewhere ?

@VinceMacBuche VinceMacBuche force-pushed the ust_5293/dev_5434_frequencey_per_node branch from 8394338 to ed9c57c Compare October 31, 2014 08:53
@VinceMacBuche VinceMacBuche force-pushed the ust_5293/dev_5434_frequencey_per_node branch from ed9c57c to 2f80453 Compare October 31, 2014 10:31
ncharles added a commit that referenced this pull request Oct 31, 2014
…ey_per_node

Fixes #5434: change the frequency of agent per agent
@ncharles ncharles merged commit 9d7c4a4 into Normation:branches/rudder/3.0 Oct 31, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants