mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Improve log messages on VolumeOrchestrator class (#6408)
Co-authored-by: Paula Zomignani Oliveira <paula@scclouds.com.br>
This commit is contained in:
parent
840c3f6a7a
commit
9717ed9af2
@ -49,4 +49,6 @@ public interface SnapshotInfo extends DataObject, Snapshot {
|
||||
long getPhysicalSize();
|
||||
|
||||
void markBackedUp() throws CloudRuntimeException;
|
||||
|
||||
Snapshot getSnapshotVO();
|
||||
}
|
||||
|
||||
@ -92,4 +92,6 @@ public interface VolumeInfo extends DataObject, Volume {
|
||||
String getDeployAsIsConfiguration();
|
||||
|
||||
public String getvSphereStoragePolicyId();
|
||||
|
||||
Volume getVolume();
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -91,6 +91,9 @@ public class PrimaryDataStoreImpl implements PrimaryDataStore {
|
||||
private VolumeDao volumeDao;
|
||||
private Map<String, String> _details;
|
||||
|
||||
private String uuid;
|
||||
private String name;
|
||||
|
||||
public PrimaryDataStoreImpl() {
|
||||
|
||||
}
|
||||
@ -99,6 +102,8 @@ public class PrimaryDataStoreImpl implements PrimaryDataStore {
|
||||
this.pdsv = pdsv;
|
||||
this.driver = driver;
|
||||
this.provider = provider;
|
||||
this.uuid = pdsv.getUuid();
|
||||
this.name = pdsv.getName();
|
||||
}
|
||||
|
||||
public static PrimaryDataStoreImpl createDataStore(StoragePoolVO pdsv, PrimaryDataStoreDriver driver, DataStoreProvider provider) {
|
||||
@ -198,12 +203,12 @@ public class PrimaryDataStoreImpl implements PrimaryDataStore {
|
||||
|
||||
@Override
|
||||
public String getUuid() {
|
||||
return pdsv.getUuid();
|
||||
return uuid;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getName() {
|
||||
return pdsv.getName();
|
||||
return name;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user