mirror of https://github.com/ceph/go-ceph
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"
|
||||
cephOctopus = "octopus"
|
||||
cephPacfic = "pacific"
|
||||
cephQuincy = "quincy"
|
||||
)
|
||||
|
||||
func init() {
|
||||
switch vname := os.Getenv("CEPH_VERSION"); vname {
|
||||
case cephNautilus, cephOctopus, cephPacfic:
|
||||
case cephNautilus, cephOctopus, cephPacfic, cephQuincy:
|
||||
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
|
||||
// version of ceph is added.
|
||||
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