-
Notifications
You must be signed in to change notification settings - Fork 90
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
Remove the other cli parameters #336
Remove the other cli parameters #336
Conversation
Signed-off-by: Changwei Ge <gechangwei@bytedance.com>
Signed-off-by: Changwei Ge <gechangwei@bytedance.com>
Signed-off-by: Changwei Ge <gechangwei@bytedance.com>
Signed-off-by: Changwei Ge <gechangwei@bytedance.com>
Signed-off-by: Changwei Ge <gechangwei@bytedance.com>
Signed-off-by: Changwei Ge <gechangwei@bytedance.com>
Signed-off-by: Changwei Ge <gechangwei@bytedance.com>
Codecov ReportBase: 28.97% // Head: 28.30% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #336 +/- ##
==========================================
- Coverage 28.97% 28.30% -0.67%
==========================================
Files 37 37
Lines 3707 3674 -33
==========================================
- Hits 1074 1040 -34
- Misses 2513 2514 +1
Partials 120 120
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
94781b3
to
43874f8
Compare
Signed-off-by: Changwei Ge <gechangwei@bytedance.com>
Signed-off-by: Changwei Ge <gechangwei@bytedance.com>
43874f8
to
1eadfda
Compare
config/default.go
Outdated
@@ -61,6 +61,7 @@ func (c *SnapshotterConfig) FillUpWithDefaults() error { | |||
if daemonConfig.NydusdConfigPath == "" { | |||
daemonConfig.NydusdConfigPath = defaultNydusDaemonConfigPath | |||
} | |||
daemonConfig.RecoverPolicy = "restart" |
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.
Maybe make restart
, failover
as constant?
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.
We already have the ReoverPolicy custom type definition which is an alias of int. So let's use the parse String() method here rather literal string
others LGTM. |
It is a more sutible package to accommodate the logics Signed-off-by: Changwei Ge <gechangwei@bytedance.com>
In this stage, we're going the remove other not frequently used CLI parameters and let e2e test adapt it.