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
major version upgrade for rootless and ocp : solving #1689 #1770
Conversation
major version upgrade for rootless and ocp : solving zalando#1689
@FxKu @CyberDem0n @Jan-M @sdudoladov : Could you please review the PR ? |
changed Infof to Debugf
removed comment
@FxKu : Could you please review and update ? |
@neelasha-09 well you addressed one comment. What about the other? There's some redundant code where only the command |
@FxKu |
indeed, then still move all the redundant parts out of the if else block. |
@FxKu Can you please suggest how can it be done ? |
@FxKu : Please check and approve the PR |
@neelasha-09 please fix the errors (e.g. define result variable etc.) so that unit tests will run. |
@FxKu the command at line 120 was added to define the variable as I'm not sure of the type of the variables to be defined for |
You will know it if you check what ExecCommand function returns? Since |
Only minor issues left. Please remove some unnecessary extra lines that you have introduced. Another event can be changed to warning. Please, make sure go.fmt has been run across your code. |
removed additional spaces
👍 |
1 similar comment
👍 |
Thanks @neelasha-09 for your contribution! |
We tested the solution in 3 places
At this stage, we cannot change spilo image instead.
Reason: PGO does not call a wrapper shell script (sh), but directly the python process. If it were a shell, we could have added this logic there. But now, it's too late, and only place to do it at this time is PGO.
The solution is conditionally applying solution of #1689 when root-less