appmgr: fix

This commit is contained in:
Aaron Greenspan
2021-01-11 12:54:17 -07:00
committed by Aiden McClelland
parent 9f9d32e0db
commit 865bb12f31

View File

@@ -6,12 +6,12 @@ const V0_2_8: emver::Version = emver::Version::new(0, 2, 8, 0);
pub struct Version; pub struct Version;
#[async_trait] #[async_trait]
impl VersionT for Version { impl VersionT for Version {
type Previous = v0_2_8::Version; type Previous = v0_2_7::Version;
fn new() -> Self { fn new() -> Self {
Version Version
} }
fn semver(&self) -> &'static emver::Version { fn semver(&self) -> &'static emver::Version {
&V0_2_4 &V0_2_8
} }
async fn up(&self) -> Result<(), Error> { async fn up(&self) -> Result<(), Error> {
Ok(()) Ok(())