-
Notifications
You must be signed in to change notification settings - Fork 438
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
Improve Config API #238
Improve Config API #238
Conversation
Codecov Report
@@ Coverage Diff @@
## master #238 +/- ##
==========================================
- Coverage 42.93% 42.53% -0.40%
==========================================
Files 74 74
Lines 4316 4356 +40
==========================================
Hits 1853 1853
- Misses 2230 2271 +41
+ Partials 233 232 -1
Continue to review full report at Codecov.
|
logging/logging.go
Outdated
func init() { | ||
defaultFileLogger, err := NewSimpleFileLogger(GetDefaultLogDir()+RecordLogFileName, DefaultNamespace, 0) | ||
if err != nil { | ||
globalLogger.Error("fail to init global file logger") |
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.
Carry with error message?
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.
Sure, updated
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.
LGTM
0692b30
to
16ad305
Compare
Thanks! |
Describe what this PR does / why we need it
Improve sentinel initialization mechanism
Does this pull request fix one issue?
None
Describe how you did it
Describe how to verify it
UT
Special notes for reviews
@sczyh30