fix: typo

This commit is contained in:
Ludo Galabru
2024-01-18 09:05:28 -05:00
parent 5076275153
commit eca79f0e92

View File

@@ -18,7 +18,7 @@ pub struct ConfigFile {
pub resources: ResourcesConfigFile,
pub network: NetworkConfigFile,
pub logs: Option<LogConfigFile>,
pub snapthot: Option<SnapshotConfigFile>,
pub snapshot: Option<SnapshotConfigFile>,
}
impl ConfigFile {
@@ -49,7 +49,7 @@ impl ConfigFile {
_ => return Err("network.mode not supported".to_string()),
};
let snapshot = match config_file.snapthot {
let snapshot = match config_file.snapshot {
Some(bootstrap) => match bootstrap.download_url {
Some(ref url) => SnapshotConfig::Download(url.to_string()),
None => SnapshotConfig::Build,