remove key_pair pub attr
This commit is contained in:
parent
125f6dd810
commit
040267e7f2
2 changed files with 6 additions and 2 deletions
|
|
@ -172,7 +172,7 @@ fn import_config(path: &str) {
|
|||
let path = std::path::Path::new(path);
|
||||
log::info!("import config from {:?} and {:?}", path, path2);
|
||||
let config: Config = load_path(path.into());
|
||||
if config.id.is_empty() || config.key_pair.0.is_empty() {
|
||||
if config.is_empty() {
|
||||
log::info!("Empty source config, skipped");
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue