Clippy
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
asonix 2022-09-27 23:23:06 -05:00
parent dc4b482737
commit 656b0225af
2 changed files with 2 additions and 2 deletions

View file

@ -1151,7 +1151,7 @@ async fn main() -> color_eyre::Result<()> {
init_tracing(&CONFIG.tracing)?;
let repo = Repo::open(CONFIG.repo.clone())?;
repo.from_db(CONFIG.old_db.path.clone()).await?;
repo.migrate_from_db(CONFIG.old_db.path.clone()).await?;
match (*OPERATION).clone() {
Operation::Run => (),

View file

@ -462,7 +462,7 @@ impl Repo {
}
}
pub(crate) async fn from_db(&self, path: PathBuf) -> color_eyre::Result<()> {
pub(crate) async fn migrate_from_db(&self, path: PathBuf) -> color_eyre::Result<()> {
if self.has_migrated().await? {
return Ok(());
}