DaanHoogland commented on code in PR #6661:
URL: https://github.com/apache/cloudstack/pull/6661#discussion_r1007896121
##########
plugins/storage/volume/storpool/src/main/java/com/cloud/hypervisor/kvm/storage/StorPoolStorageAdaptor.java:
##########
@@ -336,46 +319,46 @@ public KVMPhysicalDisk copyPhysicalDisk(KVMPhysicalDisk
disk, String name, KVMSt
@Override
public KVMPhysicalDisk copyPhysicalDisk(KVMPhysicalDisk disk, String name,
KVMStoragePool destPool, int timeout) {
- SP_LOG("StorpooolStorageAdaptor.copyPhysicalDisk: disk=%s, name=%s,
dst_pool=%s, to=%d", disk, name, destPool.getUuid(), timeout);
+ SP_LOG("StorPoolStorageAdaptor.copyPhysicalDisk: disk=%s, name=%s,
dst_pool=%s, to=%d", disk, name, destPool.getUuid(), timeout);
throw new UnsupportedOperationException("Copying a disk is not
supported in this configuration.");
}
public KVMPhysicalDisk createDiskFromSnapshot(KVMPhysicalDisk snapshot,
String snapshotName, String name, KVMStoragePool destPool) {
- SP_LOG("StorpooolStorageAdaptor.createDiskFromSnapshot: snap=%s,
snap_name=%s, name=%s, dst_pool=%s", snapshot, snapshotName, name,
destPool.getUuid());
+ SP_LOG("StorPoolStorageAdaptor.createDiskFromSnapshot: snap=%s,
snap_name=%s, name=%s, dst_pool=%s", snapshot, snapshotName, name,
destPool.getUuid());
throw new UnsupportedOperationException("Creating a disk from a
snapshot is not supported in this configuration.");
}
@Override
public boolean refresh(KVMStoragePool pool) {
- SP_LOG("StorpooolStorageAdaptor.refresh: pool=%s", pool);
+ SP_LOG("StorPoolStorageAdaptor.refresh: pool=%s", pool);
return true;
}
@Override
public boolean createFolder(String uuid, String path) {
- SP_LOG("StorpooolStorageAdaptor.createFolder: uuid=%s, path=%s", uuid,
path);
+ SP_LOG("StorPoolStorageAdaptor.createFolder: uuid=%s, path=%s", uuid,
path);
throw new UnsupportedOperationException("A folder cannot be created in
this configuration.");
}
public KVMPhysicalDisk createDiskFromSnapshot(KVMPhysicalDisk snapshot,
String snapshotName, String name,
KVMStoragePool destPool, int timeout) {
- SP_LOG("StorpooolStorageAdaptor.createDiskFromSnapshot: snap=%s,
snap_name=%s, name=%s, dst_pool=%s", snapshot,
+ SP_LOG("StorPoolStorageAdaptor.createDiskFromSnapshot: snap=%s,
snap_name=%s, name=%s, dst_pool=%s", snapshot,
snapshotName, name, destPool.getUuid());
throw new UnsupportedOperationException(
"Creating a disk from a snapshot is not supported in this
configuration.");
}
public KVMPhysicalDisk createDiskFromTemplateBacking(KVMPhysicalDisk
template, String name,
- PhysicalDiskFormat format, long size, KVMStoragePool destPool, int
timeout, byte[] passphrase) {
- SP_LOG("StorpooolStorageAdaptor.createDiskFromTemplateBacking:
template=%s, name=%s, dst_pool=%s", template,
+ PhysicalDiskFormat format, long size, KVMStoragePool destPool, int
timeout) {
Review Comment:
```suggestion
KVMStoragePool destPool) {
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]