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 #7824: Add a -u option to rudder agent run to run an update before the run #64
Conversation
@@ -83,4 +90,8 @@ if [ -e /opt/rudder/etc/disable-agent ]; then | |||
exit 1 | |||
fi | |||
|
|||
if [ "${UPDATE}" = "true" ]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should reuse the provided options, otherwise you would break user expectations.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch. Fixed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you should add raw and multiline options to UPDATE_OPTIONS since they are formatting options too
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can do but agent-update doesn't support them, so surely it will just break?
213890d
to
e6a6836
Compare
PR rebased |
I don't see any change, was it just a rebase ? |
Yes, just a rebase so far. More changes coming. Sorry for the noise.Sent from Kaiten Mail. Please excuse my brevity. |
Yes that's the reason I changed the "amend" comment in rudder-dev to be different from the "rebase" comment, but i'm not yet sure if people updated it or not. |
e6a6836
to
90002b4
Compare
Commit modified |
I also update my rudder-dev, FYI |
Good, merging |
https://www.rudder-project.org/redmine/issues/7824