Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix config behaviour #639

Merged
merged 1 commit into from
Mar 3, 2022
Merged

Fix config behaviour #639

merged 1 commit into from
Mar 3, 2022

Conversation

daemon1024
Copy link
Member

@daemon1024 daemon1024 commented Mar 3, 2022

Explicitly calling set, overrides config/env values with default values. This change fixes that behaviour. Note unlike the standard precedence order, value of flags will be overwritten by config/env

Signed-off-by: daemon1024 barun.acharya@accuknox.com

Explicitly calling set, overrides config/env values with default values. This changes fixes that behaviour. Note unlike the standard precedence order, value of flags will be of overwritten by config/env

Signed-off-by: daemon1024 <barun.acharya@accuknox.com>
@codecov-commenter
Copy link

codecov-commenter commented Mar 3, 2022

Codecov Report

Merging #639 (8ff52ba) into main (1f2be24) will increase coverage by 0.03%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #639      +/-   ##
==========================================
+ Coverage   43.55%   43.58%   +0.03%     
==========================================
  Files          24       24              
  Lines        8482     8482              
==========================================
+ Hits         3694     3697       +3     
+ Misses       4336     4335       -1     
+ Partials      452      450       -2     
Impacted Files Coverage Δ
KubeArmor/config/config.go 83.90% <100.00%> (ø)
KubeArmor/monitor/hostProcessTree.go 69.23% <0.00%> (+7.69%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1f2be24...8ff52ba. Read the comment docs.

Copy link
Contributor

@seswarrajan seswarrajan left a comment

Choose a reason for hiding this comment

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

LGTM

@seswarrajan seswarrajan requested a review from nam-jaehyun March 3, 2022 17:37
@nyrahul nyrahul merged commit 7c8a47f into kubearmor:main Mar 3, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants