mirror of https://github.com/ceph/go-ceph
cephfs/admin: Add vesion check for squid
Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
This commit is contained in:
parent
947b7d312f
commit
f03f7bcac3
|
@ -23,12 +23,13 @@ const (
|
||||||
cephPacfic = "pacific"
|
cephPacfic = "pacific"
|
||||||
cephQuincy = "quincy"
|
cephQuincy = "quincy"
|
||||||
cephReef = "reef"
|
cephReef = "reef"
|
||||||
|
cephSquid = "squid"
|
||||||
cephMain = "main"
|
cephMain = "main"
|
||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
switch vname := os.Getenv("CEPH_VERSION"); vname {
|
switch vname := os.Getenv("CEPH_VERSION"); vname {
|
||||||
case cephNautilus, cephOctopus, cephPacfic, cephQuincy, cephReef, cephMain:
|
case cephNautilus, cephOctopus, cephPacfic, cephQuincy, cephReef, cephSquid, cephMain:
|
||||||
serverVersion = vname
|
serverVersion = vname
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue