Skip to content

Commit

Permalink
Add Mimic version support
Browse files Browse the repository at this point in the history
  • Loading branch information
cholcombe973 committed Oct 12, 2018
1 parent f9e56b3 commit ef179f5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ceph_version.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ pub enum CephVersion {
Jewel,
Kraken,
Luminous,
Mimic,
}

impl FromStr for CephVersion {
Expand All @@ -52,6 +53,7 @@ impl FromStr for CephVersion {
(version_parts.next(), version_parts.next(), version_parts.next())
{
match major {
"13" => return Ok(Mimic),
"12" => return Ok(Luminous),
"11" => return Ok(Kraken),
"10" => return Ok(Jewel),
Expand Down

0 comments on commit ef179f5

Please sign in to comment.