mirror of
https://github.com/ceph/go-ceph
synced 2025-02-26 07:30:24 +00:00
cephfs/admin: Add 'main' to expected Ceph versions
When run against Ceph built out of 'main' development branch our test-suite fails to find corresponding code name. Therefore we include 'main' also to the expected list of versions. Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
This commit is contained in:
parent
f6c3f5e2d9
commit
31b208ff55
@ -22,11 +22,12 @@ const (
|
||||
cephOctopus = "octopus"
|
||||
cephPacfic = "pacific"
|
||||
cephQuincy = "quincy"
|
||||
cephMain = "main"
|
||||
)
|
||||
|
||||
func init() {
|
||||
switch vname := os.Getenv("CEPH_VERSION"); vname {
|
||||
case cephNautilus, cephOctopus, cephPacfic, cephQuincy:
|
||||
case cephNautilus, cephOctopus, cephPacfic, cephQuincy, cephMain:
|
||||
serverVersion = vname
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user