diff --git a/src/datastore/Datastore.cc b/src/datastore/Datastore.cc index 8b6ceac2d9..84414a3dc0 100644 --- a/src/datastore/Datastore.cc +++ b/src/datastore/Datastore.cc @@ -330,7 +330,7 @@ int Datastore::insert(SqlDB *db, string& error_str) goto error_disk_type; break; case Image::RBD_CDROM: - case Image::GUSTER_CDROM: + case Image::GLUSTER_CDROM: goto error_invalid_disk_type; break; }