-
Notifications
You must be signed in to change notification settings - Fork 944
feature: make env support inputting empty value when creation #2745
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
feature: make env support inputting empty value when creation #2745
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2745 +/- ##
==========================================
+ Coverage 69.32% 69.52% +0.19%
==========================================
Files 278 278
Lines 17448 17740 +292
==========================================
+ Hits 12096 12333 +237
- Misses 4025 4068 +43
- Partials 1327 1339 +12
|
|
I think this PR is going to fail, I am just testing to see whether the current implementation meets the demand. |
2c0847d to
2b050d4
Compare
a6b86f6 to
e87b14e
Compare
Signed-off-by: Allen Sun <[email protected]>
|
LGTM |
|
Caution function updateContainerEnv() which writes env to /etc/profile.d/pouchenv.sh in container. |
|
all right |
|
Thanks for your review. @wangforthinker @zjumoon01 |

Signed-off-by: Allen Sun [email protected]
Ⅰ. Describe what this PR did
env management of container may have some incompatibilities there. Here is the case:
For create env:
What I did:
Ⅱ. Does this pull request fix one issue?
none
Ⅲ. Why don't you add test cases (unit test/integration test)? (你真的觉得不需要加测试吗?)
added
Ⅳ. Describe how to verify it
none
Ⅴ. Special notes for reviews
@wangforthinker @zjumoon01 @rudyfly