-
Notifications
You must be signed in to change notification settings - Fork 7.3k
fix: plugin does not load when helm base dir contains space #10913
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
Conversation
Did you forget Line 152 in 699ea6d
? I guess, someone would ask for unit tests here. |
d3d9cda
to
813288d
Compare
Signed-off-by: Suresh Kumar <sureshdsk91@gmail.com>
@sureshdsk Thanks very much. need some unittest for this pr. |
Signed-off-by: Suresh Kumar <sureshdsk91@gmail.com>
@yxxhero I've added tests. can you take a look? |
@yxxhero its been a while. just following up. do you want review it or assign the code review to someone? |
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.
This looks good to me, but I'm not a maintianer.
Signed-off-by: Suresh Kumar sureshdsk91@gmail.com
What this PR does / why we need it:
closes #10884
bug: plugin does not work when HELM_DATA_HOME directory path contains spaces
solution:
existing method expands env variable and then splits command sequence by space. if the path contains space, results in error. so expanding just before executing the command fixes the issue.
If applicable: