mirror of
https://github.com/ceph/go-ceph
synced 2025-02-11 16:07:38 +00:00
cephfs admin: add quincy to valid server editions
Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
parent
0f29fdd510
commit
ac1401b4e2
@ -21,11 +21,12 @@ const (
|
|||||||
cephNautilus = "nautilus"
|
cephNautilus = "nautilus"
|
||||||
cephOctopus = "octopus"
|
cephOctopus = "octopus"
|
||||||
cephPacfic = "pacific"
|
cephPacfic = "pacific"
|
||||||
|
cephQuincy = "quincy"
|
||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
switch vname := os.Getenv("CEPH_VERSION"); vname {
|
switch vname := os.Getenv("CEPH_VERSION"); vname {
|
||||||
case cephNautilus, cephOctopus, cephPacfic:
|
case cephNautilus, cephOctopus, cephPacfic, cephQuincy:
|
||||||
serverVersion = vname
|
serverVersion = vname
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -41,7 +42,7 @@ func TestServerSentinel(t *testing.T) {
|
|||||||
// server version it expects and force us to update the tests if a new
|
// server version it expects and force us to update the tests if a new
|
||||||
// version of ceph is added.
|
// version of ceph is added.
|
||||||
if serverVersion == "" {
|
if serverVersion == "" {
|
||||||
t.Fatalf("server must be nautilus, octopus, or pacific (do the tests need updating?)")
|
t.Fatalf("server must be nautilus, octopus, pacific, or quincy (do the tests need updating?)")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user