Skip to content

Commit

Permalink
Add Squid version delaration (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ten0 authored Oct 19, 2024
1 parent 039fd7c commit d049e23
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 @@ -42,6 +42,7 @@ pub enum CephVersion {
Pacific,
Quincy,
Reef,
Squid,
}

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

0 comments on commit d049e23

Please sign in to comment.