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"
|
||||
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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue