-
Notifications
You must be signed in to change notification settings - Fork 73
feat: unify config reading behavior #613
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
base: main
Are you sure you want to change the base?
Conversation
fc2707c to
fa8b4f3
Compare
| fn create_default_conf() -> ClusterConf { | ||
| ClusterConf::default() | ||
| let conf = ClusterConf::from(&self.conf, Some(&self), Some("fuse")); | ||
| println!("Loaded configuration from {}", &self.conf); |
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.
It seems that the command-line parameters of fuse have not been initialized into the conf?
| args: Option<&U>, | ||
| args_name: Option<&str>, | ||
| ) -> CommonResult<Self> { | ||
| let cli_source = if let (Some(name), Some(args_value)) = (args_name, args) { |
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.
add cli source as paramter
| } | ||
| } | ||
|
|
||
| conf.master.init()?; |
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.
cli/gateway also need init?
No description provided.