Skip to content

Commit

Permalink
Add missing ceph version declarations (#89)
Browse files Browse the repository at this point in the history
Co-authored-by: Xuanwo <github@xuanwo.io>
  • Loading branch information
Ten0 and Xuanwo authored Sep 3, 2024
1 parent 74e992e commit e81f0f5
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 @@ -41,6 +41,7 @@ pub enum CephVersion {
Octopus,
Pacific,
Quincy,
Reef,
}

impl FromStr for CephVersion {
Expand All @@ -62,6 +63,7 @@ impl FromStr for CephVersion {
version_parts.next(),
) {
match major {
"18" => return Ok(Reef),
"17" => return Ok(Quincy),
"16" => return Ok(Pacific),
"15" => return Ok(Octopus),
Expand Down

0 comments on commit e81f0f5

Please sign in to comment.