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 #14586: Update relay component #2175

Merged
merged 4 commits into from Apr 12, 2019

Conversation

amousset
Copy link
Member

@amousset amousset commented Apr 3, 2019

@amousset amousset force-pushed the arch_14586/update_relay_component branch from a313238 to 621b2f5 Compare April 3, 2019 23:22
@amousset
Copy link
Member Author

amousset commented Apr 3, 2019

Commit modified

logs: log_entries >>
rudder_report_begin >>
policy: take_until_and_consume_s!("@@") >>
event_type: take_until_and_consume_s!("@@") >>
rule_id: take_until_and_consume_s!("@@") >>
directive_id: take_until_and_consume_s!("@@") >>
serial: take_until_and_consume_s!("@@") >>
serial: map_res!(take_until_and_consume_s!("@@"), parse_i32) >>
Copy link
Member

Choose a reason for hiding this comment

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

serial should always be 0

Copy link
Member

Choose a reason for hiding this comment

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

meaning: there is no way the serial can be set to something else than 0 in Rudder 4.3 and more

Copy link
Member Author

Choose a reason for hiding this comment

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

The idea is to allow reusing this field if we want it in the future, without having to upgrade all relays.

Copy link
Member Author

Choose a reason for hiding this comment

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

(specially as it is cheap and just as simple to implement)

@amousset amousset force-pushed the arch_14586/update_relay_component branch from 621b2f5 to 3027802 Compare April 4, 2019 08:20
@amousset
Copy link
Member Author

amousset commented Apr 4, 2019

Commit modified

@amousset amousset force-pushed the arch_14586/update_relay_component branch from 3027802 to c0c9ac3 Compare April 4, 2019 08:54
@amousset
Copy link
Member Author

amousset commented Apr 4, 2019

Commit modified

1 similar comment
@amousset
Copy link
Member Author

amousset commented Apr 4, 2019

Commit modified

@amousset amousset force-pushed the arch_14586/update_relay_component branch from bf7e401 to 1271c36 Compare April 4, 2019 20:19
@amousset
Copy link
Member Author

amousset commented Apr 4, 2019

Commit modified

@amousset amousset force-pushed the arch_14586/update_relay_component branch from 1271c36 to 30e70de Compare April 4, 2019 21:30
@amousset
Copy link
Member Author

amousset commented Apr 4, 2019

Commit modified

1 similar comment
@amousset
Copy link
Member Author

amousset commented Apr 4, 2019

Commit modified

@amousset amousset force-pushed the arch_14586/update_relay_component branch 2 times, most recently from aed0582 to 49babf5 Compare April 5, 2019 09:43
@amousset
Copy link
Member Author

amousset commented Apr 5, 2019

Commit modified

1 similar comment
@amousset
Copy link
Member Author

amousset commented Apr 5, 2019

Commit modified

@amousset
Copy link
Member Author

amousset commented Apr 5, 2019

Commit modified

@amousset
Copy link
Member Author

amousset commented Apr 9, 2019

Commit modified

@amousset amousset force-pushed the arch_14586/update_relay_component branch from 33fe570 to 465e764 Compare April 9, 2019 16:47
@amousset
Copy link
Member Author

amousset commented Apr 9, 2019

PR rebased

@amousset amousset force-pushed the arch_14586/update_relay_component branch from 465e764 to 85daa29 Compare April 9, 2019 17:01
@amousset
Copy link
Member Author

amousset commented Apr 9, 2019

Commit modified

@amousset amousset force-pushed the arch_14586/update_relay_component branch from 85daa29 to c483f14 Compare April 9, 2019 17:13
@amousset
Copy link
Member Author

amousset commented Apr 9, 2019

Commit modified

@amousset amousset force-pushed the arch_14586/update_relay_component branch from c483f14 to 66d4f4b Compare April 9, 2019 17:34
@amousset
Copy link
Member Author

amousset commented Apr 9, 2019

Commit modified

Fixes #14586: Update relay component
@amousset
Copy link
Member Author

Commit modified

1 similar comment
@amousset
Copy link
Member Author

Commit modified

@amousset amousset force-pushed the arch_14586/update_relay_component branch from 130bc60 to 92177be Compare April 12, 2019 00:04
@amousset
Copy link
Member Author

Commit modified

Fixes #14586: Update relay component
@amousset
Copy link
Member Author

Commit modified

@amousset
Copy link
Member Author

OK, squash merging this PR

1 similar comment
@amousset
Copy link
Member Author

OK, squash merging this PR

@amousset
Copy link
Member Author

Commit modified

1 similar comment
@amousset
Copy link
Member Author

Commit modified

@amousset amousset merged commit b9080a1 into Normation:master Apr 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants