-
Notifications
You must be signed in to change notification settings - Fork 276
fix: update configClient call and logging #4854
fix: update configClient call and logging #4854
Conversation
Fixes incorrect configClient call and removes log definition. Signed-off-by: jaellio <[email protected]>
Codecov Report
@@ Coverage Diff @@
## main #4854 +/- ##
==========================================
+ Coverage 69.34% 69.51% +0.17%
==========================================
Files 219 219
Lines 16012 16033 +21
==========================================
+ Hits 11104 11146 +42
+ Misses 4854 4833 -21
Partials 54 54
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
pkg/certificate/providers/types.go
Outdated
) | ||
|
||
var log = logger.New("certificate/provider") |
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.
Why remove this?
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 was seeing lint errors here baff85f
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.
Ah, in that case, we should remove (or alias) the import and keep this line; this assignment adds good context to the log lines
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 point! Fixed!
Signed-off-by: jaellio <[email protected]>
Description:
Fixes incorrect configClient call and removes log definition.
Testing done: