fix CephBackupStorageSpec#setupSimulator
@@ -48,7 +48,7 @@ class CephBackupStorageSpec extends BackupStorageSpec {
return id(name, inventory.uuid)
}
- private void setupSimulator() {
+ protected void setupSimulator() {
simulator(CephBackupStorageBase.GET_FACTS) { HttpEntity<String> e, EnvSpec spec ->
CephBackupStorageBase.GetFactsCmd cmd = JSONObjectUtil.toObject(e.body, CephBackupStorageBase.GetFactsCmd.class)
CephBackupStorageSpec bspec = spec.specByUuid(cmd.uuid)
@@ -64,7 +64,6 @@ class CephBackupStorageSpec extends BackupStorageSpec {
return rsp
}
-
simulator(CephBackupStorageBase.GET_IMAGE_SIZE_PATH) {
def rsp = new CephBackupStorageBase.GetImageSizeRsp()
rsp.size = 0
