cephfs/admin: Add vesion check for squid

Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
This commit is contained in:
Anoop C S 2024-02-28 12:36:25 +05:30 committed by mergify[bot]
parent 947b7d312f
commit f03f7bcac3
1 changed files with 2 additions and 1 deletions

View File

@ -23,12 +23,13 @@ const (
cephPacfic = "pacific"
cephQuincy = "quincy"
cephReef = "reef"
cephSquid = "squid"
cephMain = "main"
)
func init() {
switch vname := os.Getenv("CEPH_VERSION"); vname {
case cephNautilus, cephOctopus, cephPacfic, cephQuincy, cephReef, cephMain:
case cephNautilus, cephOctopus, cephPacfic, cephQuincy, cephReef, cephSquid, cephMain:
serverVersion = vname
}
}